Patch from Bernhard Fischer to make a bunch of symbols static

which were otherwise cluttering the global namespace.
This commit is contained in:
Eric Andersen
2005-04-16 19:39:00 +00:00
parent a77b4f3970
commit 14f5c8d764
30 changed files with 96 additions and 91 deletions

View File

@@ -65,23 +65,23 @@
#define MAXCODE(n) (1L << (n))
/* Block compress mode -C compatible with 2.0 */
int block_mode = BLOCK_MODE;
static int block_mode = BLOCK_MODE;
/* user settable max # bits/code */
int maxbits = BITS;
static int maxbits = BITS;
/* Exitcode of compress (-1 no file compressed) */
int exit_code = -1;
static int exit_code = -1;
/* Input buffer */
unsigned char inbuf[IBUFSIZ + 64];
static unsigned char inbuf[IBUFSIZ + 64];
/* Output buffer */
unsigned char outbuf[OBUFSIZ + 2048];
static unsigned char outbuf[OBUFSIZ + 2048];
long int htab[HSIZE];
unsigned short codetab[HSIZE];
static long int htab[HSIZE];
static unsigned short codetab[HSIZE];
#define htabof(i) htab[i]
#define codetabof(i) codetab[i]