summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/zlib/contrib/infback9/inftree9.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/zlib/contrib/infback9/inftree9.h')
-rw-r--r--3rdparty/zlib/contrib/infback9/inftree9.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/3rdparty/zlib/contrib/infback9/inftree9.h b/3rdparty/zlib/contrib/infback9/inftree9.h
index 5ab21f0c6d1..ab2ea28b2ba 100644
--- a/3rdparty/zlib/contrib/infback9/inftree9.h
+++ b/3rdparty/zlib/contrib/infback9/inftree9.h
@@ -38,11 +38,11 @@ typedef struct {
/* Maximum size of the dynamic table. The maximum number of code structures is
1446, which is the sum of 852 for literal/length codes and 594 for distance
codes. These values were found by exhaustive searches using the program
- examples/enough.c found in the zlib distribtution. The arguments to that
+ examples/enough.c found in the zlib distribution. The arguments to that
program are the number of symbols, the initial root table size, and the
maximum bit length of a code. "enough 286 9 15" for literal/length codes
- returns returns 852, and "enough 32 6 15" for distance codes returns 594.
- The initial root table size (9 or 6) is found in the fifth argument of the
+ returns 852, and "enough 32 6 15" for distance codes returns 594. The
+ initial root table size (9 or 6) is found in the fifth argument of the
inflate_table() calls in infback9.c. If the root table size is changed,
then these maximum sizes would be need to be recalculated and updated. */
#define ENOUGH_LENS 852
@@ -56,6 +56,6 @@ typedef enum {
DISTS
} codetype;
-extern int inflate_table9 OF((codetype type, unsigned short FAR *lens,
- unsigned codes, code FAR * FAR *table,
- unsigned FAR *bits, unsigned short FAR *work));
+extern int inflate_table9(codetype type, unsigned short FAR *lens,
+ unsigned codes, code FAR * FAR *table,
+ unsigned FAR *bits, unsigned short FAR *work);