aboutsummaryrefslogtreecommitdiff
path: root/inffast.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:09:18 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:09:18 -0700
commit23c69f10698301ae97709eb0bbfb371d66b99a08 (patch)
tree1956b671b3df8d12c315a38f33b190677ccd659e /inffast.c
parent6b834a58bdef976383cff6e2a83f353e668a9cf1 (diff)
downloadzlib-23c69f10698301ae97709eb0bbfb371d66b99a08.tar.gz
zlib-23c69f10698301ae97709eb0bbfb371d66b99a08.tar.bz2
zlib-23c69f10698301ae97709eb0bbfb371d66b99a08.zip
zlib 0.94v0.94
Diffstat (limited to 'inffast.c')
-rw-r--r--inffast.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/inffast.c b/inffast.c
index 49ed1df..d1f1ad2 100644
--- a/inffast.c
+++ b/inffast.c
@@ -5,6 +5,8 @@
5 5
6#include "zutil.h" 6#include "zutil.h"
7#include "inftrees.h" 7#include "inftrees.h"
8#include "infblock.h"
9#include "infcodes.h"
8#include "infutil.h" 10#include "infutil.h"
9#include "inffast.h" 11#include "inffast.h"
10 12
@@ -28,22 +30,22 @@ struct inflate_codes_state {int dummy;}; /* for buggy compilers */
28int inflate_fast(bl, bd, tl, td, s, z) 30int inflate_fast(bl, bd, tl, td, s, z)
29uInt bl, bd; 31uInt bl, bd;
30inflate_huft *tl, *td; 32inflate_huft *tl, *td;
31struct inflate_blocks_state *s; 33inflate_blocks_statef *s;
32z_stream *z; 34z_stream *z;
33{ 35{
34 inflate_huft *t; /* temporary pointer */ 36 inflate_huft *t; /* temporary pointer */
35 uInt e; /* extra bits or operation */ 37 uInt e; /* extra bits or operation */
36 uLong b; /* bit buffer */ 38 uLong b; /* bit buffer */
37 uInt k; /* bits in bit buffer */ 39 uInt k; /* bits in bit buffer */
38 Byte *p; /* input data pointer */ 40 Bytef *p; /* input data pointer */
39 uInt n; /* bytes available there */ 41 uInt n; /* bytes available there */
40 Byte *q; /* output window write pointer */ 42 Bytef *q; /* output window write pointer */
41 uInt m; /* bytes to end of window or read pointer */ 43 uInt m; /* bytes to end of window or read pointer */
42 uInt ml; /* mask for literal/length tree */ 44 uInt ml; /* mask for literal/length tree */
43 uInt md; /* mask for distance tree */ 45 uInt md; /* mask for distance tree */
44 uInt c; /* bytes to copy */ 46 uInt c; /* bytes to copy */
45 uInt d; /* distance back to copy from */ 47 uInt d; /* distance back to copy from */
46 Byte *r; /* copy source pointer */ 48 Bytef *r; /* copy source pointer */
47 49
48 /* load input, output, bit values */ 50 /* load input, output, bit values */
49 LOAD 51 LOAD