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
|
|
@ -37,5 +37,5 @@ enum
|
|||
#define GZCRCPOLY 0xedb88320
|
||||
/* GZCRCPOLY = 0xedb88320UL, */
|
||||
|
||||
GZOSINFERNO = GZOSUNIX,
|
||||
GZOSINFERNO = GZOSUNIX
|
||||
};
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
enum
|
||||
{
|
||||
HeadAlloc = 64,
|
||||
HeadAlloc = 64
|
||||
};
|
||||
|
||||
static void zip(Biobuf *bout, char *file, int stdout);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue