aboutsummaryrefslogtreecommitdiff
path: root/inftrees.c
diff options
context:
space:
mode:
Diffstat (limited to 'inftrees.c')
-rw-r--r--inftrees.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/inftrees.c b/inftrees.c
index ebeac0d..90205bd 100644
--- a/inftrees.c
+++ b/inftrees.c
@@ -6,7 +6,7 @@
6#include "zutil.h" 6#include "zutil.h"
7#include "inftrees.h" 7#include "inftrees.h"
8 8
9char inflate_copyright[] = " inflate 1.0.2 Copyright 1995-1996 Mark Adler "; 9char inflate_copyright[] = " inflate 1.0.4 Copyright 1995-1996 Mark Adler ";
10/* 10/*
11 If you use the zlib library in a product, an acknowledgment is welcome 11 If you use the zlib library in a product, an acknowledgment is welcome
12 in the documentation of your product. If for some reason you cannot 12 in the documentation of your product. If for some reason you cannot
@@ -30,7 +30,7 @@ local int huft_build OF((
30 uIntf *, /* list of extra bits for non-simple codes */ 30 uIntf *, /* list of extra bits for non-simple codes */
31 inflate_huft * FAR*,/* result: starting table */ 31 inflate_huft * FAR*,/* result: starting table */
32 uIntf *, /* maximum lookup bits (returns actual) */ 32 uIntf *, /* maximum lookup bits (returns actual) */
33 z_stream *)); /* for zalloc function */ 33 z_streamp )); /* for zalloc function */
34 34
35local voidpf falloc OF(( 35local voidpf falloc OF((
36 voidpf, /* opaque pointer (not used) */ 36 voidpf, /* opaque pointer (not used) */
@@ -103,7 +103,7 @@ uIntf *d; /* list of base values for non-simple codes */
103uIntf *e; /* list of extra bits for non-simple codes */ 103uIntf *e; /* list of extra bits for non-simple codes */
104inflate_huft * FAR *t; /* result: starting table */ 104inflate_huft * FAR *t; /* result: starting table */
105uIntf *m; /* maximum lookup bits, returns actual */ 105uIntf *m; /* maximum lookup bits, returns actual */
106z_stream *zs; /* for zalloc function */ 106z_streamp zs; /* for zalloc function */
107/* Given a list of code lengths and a maximum table size, make a set of 107/* Given a list of code lengths and a maximum table size, make a set of
108 tables to decode that set of codes. Return Z_OK on success, Z_BUF_ERROR 108 tables to decode that set of codes. Return Z_OK on success, Z_BUF_ERROR
109 if the given code set is incomplete (the tables are still built in this 109 if the given code set is incomplete (the tables are still built in this
@@ -302,7 +302,7 @@ int inflate_trees_bits(c, bb, tb, z)
302uIntf *c; /* 19 code lengths */ 302uIntf *c; /* 19 code lengths */
303uIntf *bb; /* bits tree desired/actual depth */ 303uIntf *bb; /* bits tree desired/actual depth */
304inflate_huft * FAR *tb; /* bits tree result */ 304inflate_huft * FAR *tb; /* bits tree result */
305z_stream *z; /* for zfree function */ 305z_streamp z; /* for zfree function */
306{ 306{
307 int r; 307 int r;
308 308
@@ -327,7 +327,7 @@ uIntf *bl; /* literal desired/actual bit depth */
327uIntf *bd; /* distance desired/actual bit depth */ 327uIntf *bd; /* distance desired/actual bit depth */
328inflate_huft * FAR *tl; /* literal/length tree result */ 328inflate_huft * FAR *tl; /* literal/length tree result */
329inflate_huft * FAR *td; /* distance tree result */ 329inflate_huft * FAR *td; /* distance tree result */
330z_stream *z; /* for zfree function */ 330z_streamp z; /* for zfree function */
331{ 331{
332 int r; 332 int r;
333 333
@@ -442,7 +442,7 @@ inflate_huft * FAR *td; /* distance tree result */
442 442
443int inflate_trees_free(t, z) 443int inflate_trees_free(t, z)
444inflate_huft *t; /* table to free */ 444inflate_huft *t; /* table to free */
445z_stream *z; /* for zfree function */ 445z_streamp z; /* for zfree function */
446/* Free the malloc'ed tables built by huft_build(), which makes a linked 446/* Free the malloc'ed tables built by huft_build(), which makes a linked
447 list of the tables it made, with the links in a dummy first entry of 447 list of the tables it made, with the links in a dummy first entry of
448 each table. */ 448 each table. */