Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
This commit is contained in:
parent
226d80b821
commit
cbeb0b26e4
492 changed files with 3218 additions and 3167 deletions
|
|
@ -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
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue