From 23c69f10698301ae97709eb0bbfb371d66b99a08 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:09:18 -0700 Subject: zlib 0.94 --- inffast.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'inffast.c') diff --git a/inffast.c b/inffast.c index 49ed1df..d1f1ad2 100644 --- a/inffast.c +++ b/inffast.c @@ -5,6 +5,8 @@ #include "zutil.h" #include "inftrees.h" +#include "infblock.h" +#include "infcodes.h" #include "infutil.h" #include "inffast.h" @@ -28,22 +30,22 @@ struct inflate_codes_state {int dummy;}; /* for buggy compilers */ int inflate_fast(bl, bd, tl, td, s, z) uInt bl, bd; inflate_huft *tl, *td; -struct inflate_blocks_state *s; +inflate_blocks_statef *s; z_stream *z; { inflate_huft *t; /* temporary pointer */ uInt e; /* extra bits or operation */ uLong b; /* bit buffer */ uInt k; /* bits in bit buffer */ - Byte *p; /* input data pointer */ + Bytef *p; /* input data pointer */ uInt n; /* bytes available there */ - Byte *q; /* output window write pointer */ + Bytef *q; /* output window write pointer */ uInt m; /* bytes to end of window or read pointer */ uInt ml; /* mask for literal/length tree */ uInt md; /* mask for distance tree */ uInt c; /* bytes to copy */ uInt d; /* distance back to copy from */ - Byte *r; /* copy source pointer */ + Bytef *r; /* copy source pointer */ /* load input, output, bit values */ LOAD -- cgit v1.2.3-55-g6feb