aboutsummaryrefslogtreecommitdiff
path: root/contrib/infback9/inftree9.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2023-04-15 01:18:06 -0700
committerMark Adler <madler@alumni.caltech.edu>2023-04-15 21:18:52 -0700
commitc4aa356742e03af6670c043905cd2c96f515ad72 (patch)
tree00d7887ae3af633455b3402226896d2e0db73911 /contrib/infback9/inftree9.c
parente9d5486e6635141f589e110fd789648aa08e9544 (diff)
downloadzlib-c4aa356742e03af6670c043905cd2c96f515ad72.tar.gz
zlib-c4aa356742e03af6670c043905cd2c96f515ad72.tar.bz2
zlib-c4aa356742e03af6670c043905cd2c96f515ad72.zip
Remove K&R function definitions from infback9.
Diffstat (limited to 'contrib/infback9/inftree9.c')
-rw-r--r--contrib/infback9/inftree9.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/contrib/infback9/inftree9.c b/contrib/infback9/inftree9.c
index 01a91f8..4faec86 100644
--- a/contrib/infback9/inftree9.c
+++ b/contrib/infback9/inftree9.c
@@ -29,14 +29,9 @@ const char inflate9_copyright[] =
29 table index bits. It will differ if the request is greater than the 29 table index bits. It will differ if the request is greater than the
30 longest code or if it is less than the shortest code. 30 longest code or if it is less than the shortest code.
31 */ 31 */
32int inflate_table9(type, lens, codes, table, bits, work) 32int inflate_table9(codetype type, unsigned short FAR *lens, unsigned codes,
33codetype type; 33 code FAR * FAR *table, unsigned FAR *bits,
34unsigned short FAR *lens; 34 unsigned short FAR *work) {
35unsigned codes;
36code FAR * FAR *table;
37unsigned FAR *bits;
38unsigned short FAR *work;
39{
40 unsigned len; /* a code's length in bits */ 35 unsigned len; /* a code's length in bits */
41 unsigned sym; /* index of code symbols */ 36 unsigned sym; /* index of code symbols */
42 unsigned min, max; /* minimum and maximum code lengths */ 37 unsigned min, max; /* minimum and maximum code lengths */