summaryrefslogtreecommitdiff
path: root/sys/lib/libz/infutil.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-09-08 04:07:50 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-09-08 04:07:50 +0000
commit53c62cf86b51bcd64c2da110dde310dfa22280c4 (patch)
tree41b6554eca7d602713607efacd38c267699613c2 /sys/lib/libz/infutil.h
parent881f43d66d13a479bed5440be1e7407d0fe2b678 (diff)
Let's commit the correct files, shall we. This is the real zlib-1.1.3...
Diffstat (limited to 'sys/lib/libz/infutil.h')
-rw-r--r--sys/lib/libz/infutil.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/lib/libz/infutil.h b/sys/lib/libz/infutil.h
index 702cd290c37..99d1135d06a 100644
--- a/sys/lib/libz/infutil.h
+++ b/sys/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 */