summaryrefslogtreecommitdiffstats
path: root/lib/libz/infutil.h
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-02-28 06:04:26 +0000
committersteve <steve@FreeBSD.org>1998-02-28 06:04:26 +0000
commit9f86c0bf8cf1224d46bbefe1d308f2cc8186a79b (patch)
treef03de58d136ec48f008735e374079754bdfee40f /lib/libz/infutil.h
parent5372e3085661ee9071da924c16a5cfdc12f7590d (diff)
downloadFreeBSD-src-9f86c0bf8cf1224d46bbefe1d308f2cc8186a79b.zip
FreeBSD-src-9f86c0bf8cf1224d46bbefe1d308f2cc8186a79b.tar.gz
Initial import of zlib-1.1.1
PR: 5869 Reviewed by: jdp
Diffstat (limited to 'lib/libz/infutil.h')
-rw-r--r--lib/libz/infutil.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libz/infutil.h b/lib/libz/infutil.h
index 702cd29..99d1135 100644
--- a/lib/libz/infutil.h
+++ b/lib/libz/infutil.h
@@ -1,5 +1,5 @@
/* infutil.h -- types and macros common to blocks and codes
- * Copyright (C) 1995-1996 Mark Adler
+ * Copyright (C) 1995-1998 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -41,8 +41,6 @@ struct inflate_blocks_state {
inflate_huft *tb; /* bit length decoding tree */
} trees; /* if DTREE, decoding info for trees */
struct {
- inflate_huft *tl;
- inflate_huft *td; /* trees to free */
inflate_codes_statef
*codes;
} decode; /* if CODES, current state */
@@ -52,6 +50,7 @@ struct inflate_blocks_state {
/* mode independent information */
uInt bitk; /* bits in bit buffer */
uLong bitb; /* bit buffer */
+ inflate_huft *hufts; /* single malloc for tree space */
Bytef *window; /* sliding window */
Bytef *end; /* one byte after sliding window */
Bytef *read; /* window read pointer */
OpenPOWER on IntegriCloud