diff options
author | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch) | |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/cmd/gzip | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 (diff) | |
download | plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.gz plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.bz2 plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.zip |
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
Diffstat (limited to 'src/cmd/gzip')
-rw-r--r-- | src/cmd/gzip/gzip.h | 2 | ||||
-rw-r--r-- | src/cmd/gzip/zip.c | 2 | ||||
-rw-r--r-- | src/cmd/gzip/zip.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/gzip/gzip.h b/src/cmd/gzip/gzip.h index 1713a26c..146de481 100644 --- a/src/cmd/gzip/gzip.h +++ b/src/cmd/gzip/gzip.h @@ -37,5 +37,5 @@ enum #define GZCRCPOLY 0xedb88320 /* GZCRCPOLY = 0xedb88320UL, */ - GZOSINFERNO = GZOSUNIX, + GZOSINFERNO = GZOSUNIX }; diff --git a/src/cmd/gzip/zip.c b/src/cmd/gzip/zip.c index 63903ece..bd87d2ec 100644 --- a/src/cmd/gzip/zip.c +++ b/src/cmd/gzip/zip.c @@ -6,7 +6,7 @@ enum { - HeadAlloc = 64, + HeadAlloc = 64 }; static void zip(Biobuf *bout, char *file, int stdout); diff --git a/src/cmd/gzip/zip.h b/src/cmd/gzip/zip.h index d005469f..34449803 100644 --- a/src/cmd/gzip/zip.h +++ b/src/cmd/gzip/zip.h @@ -58,7 +58,7 @@ enum ZHeadCrc = 4 + 2 + 2 + 2 + 2 + 2, ZTrailSize = 4 + 4 + 4, ZCHeadSize = 4 + 2 + 2 + 2 + 2 + 2 + 2 + 4 + 4 + 4 + 2 + 2 + 2 + 2 + 2 + 4 + 4, - ZECHeadSize = 4 + 2 + 2 + 2 + 2 + 4 + 4 + 2, + ZECHeadSize = 4 + 2 + 2 + 2 + 2 + 4 + 4 + 2 }; /* |