diff options
author | Karl Ramm <kcr@mit.edu> | 2008-01-20 19:40:42 +0000 |
---|---|---|
committer | Karl Ramm <kcr@mit.edu> | 2008-01-20 19:40:42 +0000 |
commit | 3017fb3605d59cb41c4def4ffd0b7f967f99315d (patch) | |
tree | c690b0c00d780759eb48d8f11af30d429a916382 /lib/ZParseNot.c | |
parent | f87e7cd5f4295337f9bc07895c3e2a43c5c65a94 (diff) |
first pass de-K&Rify lib
Diffstat (limited to 'lib/ZParseNot.c')
-rw-r--r-- | lib/ZParseNot.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/ZParseNot.c b/lib/ZParseNot.c index a198845..7202c47 100644 --- a/lib/ZParseNot.c +++ b/lib/ZParseNot.c @@ -18,8 +18,9 @@ static char rcsid_ZParseNotice_c[] = #include <internal.h> /* Skip to the next NUL-terminated field in the packet. */ -static char *next_field(ptr, end) - char *ptr, *end; +static char * +next_field(char *ptr, + char *end) { while (ptr < end && *ptr != '\0') ptr++; @@ -28,10 +29,10 @@ static char *next_field(ptr, end) return (ptr); } -Code_t ZParseNotice(buffer, len, notice) - char *buffer; - int len; - ZNotice_t *notice; +Code_t +ZParseNotice(char *buffer, + int len, + ZNotice_t *notice) { char *ptr, *end; unsigned long temp; |