diff options
Diffstat (limited to 'inffast.c')
-rw-r--r-- | inffast.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |