aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/gzip
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-04-01 19:24:03 +0000
committerrsc <devnull@localhost>2006-04-01 19:24:03 +0000
commitcbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch)
treee0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/cmd/gzip
parent226d80b8213821af0cbf092d1507c52b504fd368 (diff)
downloadplan9port-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.h2
-rw-r--r--src/cmd/gzip/zip.c2
-rw-r--r--src/cmd/gzip/zip.h2
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
};
/*