diff options
author | Jim Meyering <meyering@redhat.com> | 2011-05-09 10:00:25 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-05-09 10:11:26 +0200 |
commit | 7e7015ea853812052824eb5a62adec3e91a88a5c (patch) | |
tree | 6c85b0bc76c873fdbdbbb3b47b61bdd1d8ec0267 /inflate.c | |
parent | 9d1b94368968e29154dab51806f232cddc177b4a (diff) | |
download | gzip-7e7015ea853812052824eb5a62adec3e91a88a5c.tar.gz |
maint: declare many variables to be static
* deflate.c: Likewise.
* gzip.c: Likewise.
* gzip.h: Likewise.
* inflate.c: Likewise.
* trees.c: Likewise.
* unzip.c: Likewise.
* util.c: Likewise.
Diffstat (limited to 'inflate.c')
-rw-r--r-- | inflate.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -208,10 +208,10 @@ static ush cpdext[] = { /* Extra bits for distance codes */ the stream. */ -ulg bb; /* bit buffer */ -unsigned bk; /* bits in bit buffer */ +static ulg bb; /* bit buffer */ +static unsigned bk; /* bits in bit buffer */ -ush mask_bits[] = { +static ush mask_bits[] = { 0x0000, 0x0001, 0x0003, 0x0007, 0x000f, 0x001f, 0x003f, 0x007f, 0x00ff, 0x01ff, 0x03ff, 0x07ff, 0x0fff, 0x1fff, 0x3fff, 0x7fff, 0xffff @@ -263,8 +263,8 @@ ush mask_bits[] = { */ -int lbits = 9; /* bits in base literal/length lookup table */ -int dbits = 6; /* bits in base distance lookup table */ +static int lbits = 9; /* bits in base literal/length lookup table */ +static int dbits = 6; /* bits in base distance lookup table */ /* If BMAX needs to be larger than 16, then h and x[] should be ulg. */ @@ -272,7 +272,7 @@ int dbits = 6; /* bits in base distance lookup table */ #define N_MAX 288 /* maximum number of codes in any set */ -unsigned hufts; /* track memory usage */ +static unsigned hufts; /* track memory usage */ static int |