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/tapefs/zip.h | |
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/tapefs/zip.h')
-rw-r--r-- | src/cmd/tapefs/zip.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cmd/tapefs/zip.h b/src/cmd/tapefs/zip.h index 9b703de2..34449803 100644 --- a/src/cmd/tapefs/zip.h +++ b/src/cmd/tapefs/zip.h @@ -16,7 +16,8 @@ enum ZTrailInfo = 1 << 3, /* uncsize, csize, and crc are in trailer */ ZCompPatch = 1 << 5, /* compression patched data */ - ZCrcPoly = 0xedb88320, +/* ZCrcPoly = 0xedb88320, */ +#define ZCrcPoly 0xedb88320 /* * compression method @@ -57,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 }; /* |