Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.

This commit is contained in:
rsc 2006-04-01 19:24:03 +00:00
parent 226d80b821
commit cbeb0b26e4
492 changed files with 3218 additions and 3167 deletions

View file

@ -37,5 +37,5 @@ enum
#define GZCRCPOLY 0xedb88320
/* GZCRCPOLY = 0xedb88320UL, */
GZOSINFERNO = GZOSUNIX,
GZOSINFERNO = GZOSUNIX
};

View file

@ -6,7 +6,7 @@
enum
{
HeadAlloc = 64,
HeadAlloc = 64
};
static void zip(Biobuf *bout, char *file, int stdout);

View file

@ -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
};
/*