summaryrefslogtreecommitdiffstats
path: root/lib/libz/inftrees.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-01-10 09:47:00 +0000
committerpeter <peter@FreeBSD.org>1999-01-10 09:47:00 +0000
commitb66130e248e76492a053cf3cb3fe84f580668361 (patch)
tree3caf4fc6f883e76264c0a8d3c81387ebbb685ebf /lib/libz/inftrees.h
parent9f86c0bf8cf1224d46bbefe1d308f2cc8186a79b (diff)
downloadFreeBSD-src-b66130e248e76492a053cf3cb3fe84f580668361.zip
FreeBSD-src-b66130e248e76492a053cf3cb3fe84f580668361.tar.gz
Import zlib 1.1.3 onto the vendor branch.
Obtained from: ftp.cdrom.com:/pub/infozip/zlib
Diffstat (limited to 'lib/libz/inftrees.h')
-rw-r--r--lib/libz/inftrees.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/libz/inftrees.h b/lib/libz/inftrees.h
index c2513d1..85853e0 100644
--- a/lib/libz/inftrees.h
+++ b/lib/libz/inftrees.h
@@ -19,17 +19,15 @@ struct inflate_huft_s {
Byte Exop; /* number of extra bits or operation */
Byte Bits; /* number of bits in this code or subcode */
} what;
- Bytef *pad; /* pad structure to a power of 2 (4 bytes for */
- } word; /* 16-bit, 8 bytes for 32-bit machines) */
- union {
- uInt Base; /* literal, length base, or distance base */
- inflate_huft *Next; /* pointer to next level of table */
- } more;
+ uInt pad; /* pad structure to a power of 2 (4 bytes for */
+ } word; /* 16-bit, 8 bytes for 32-bit int's) */
+ uInt base; /* literal, length base, distance base,
+ or table offset */
};
/* Maximum size of dynamic tree. The maximum found in a long but non-
- exhaustive search was 1041 huft structures (875 for length/literals
- and 166 for distances, the latter actually the result of an
+ exhaustive search was 1004 huft structures (850 for length/literals
+ and 154 for distances, the latter actually the result of an
exhaustive search). The actual maximum is not known, but the
value below is more than safe. */
#define MANY 1440
OpenPOWER on IntegriCloud