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/ZReadZcode.c | |
parent | f87e7cd5f4295337f9bc07895c3e2a43c5c65a94 (diff) |
first pass de-K&Rify lib
Diffstat (limited to 'lib/ZReadZcode.c')
-rw-r--r-- | lib/ZReadZcode.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/lib/ZReadZcode.c b/lib/ZReadZcode.c index ed3a283..93d651d 100644 --- a/lib/ZReadZcode.c +++ b/lib/ZReadZcode.c @@ -20,7 +20,10 @@ static char rcsid_ZReadZcode_c[] = "$Id$"; #if 0 Code_t -ZReadAsciiOrZcode(char *buf, int buflen, unsigned char *data, int datalen) +ZReadAsciiOrZcode(char *buf, + int buflen, + unsigned char *data, + int datalen) { if (buf[0] == 'Z') return ZReadZcode(buf, buflen, data, datalen); @@ -28,19 +31,19 @@ ZReadAsciiOrZcode(char *buf, int buflen, unsigned char *data, int datalen) return ZReadAscii(buf, buflen, data, datalen); } -Code_t ZReadZcode32(ptr, value_ptr) - unsigned char *ptr; - unsigned long *value_ptr; +Code_t +ZReadZcode32(unsigned char *ptr, + unsigned long *value_ptr) { abort(); } #endif -Code_t ZReadZcode(ptr, field, max, len) - unsigned char *ptr; - unsigned char *field; - int max; - int *len; +Code_t +ZReadZcode(unsigned char *ptr, + unsigned char *field, + int max, + int *len) { int n = 0; |