aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libz/infutil.h
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-02-28 06:04:26 +0000
committerSteve Price <steve@FreeBSD.org>1998-02-28 06:04:26 +0000
commitbd957a8d6c05c2b26507f0c310c269d02f187632 (patch)
treef03de58d136ec48f008735e374079754bdfee40f /lib/libz/infutil.h
parente97dbe1e300c9da64012ba8b5f48c524c645d429 (diff)
downloadsrc-bd957a8d6c05c2b26507f0c310c269d02f187632.tar.gz
src-bd957a8d6c05c2b26507f0c310c269d02f187632.zip
Initial import of zlib-1.1.1
PR: 5869 Reviewed by: jdp
Notes
Notes: svn path=/vendor/libz/dist/; revision=33904
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 702cd290c37e..99d1135d06a3 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 */