summaryrefslogtreecommitdiff
path: root/archival/libunarchive/decompress_uncompress.c
diff options
context:
space:
mode:
authorEric Andersen2005-04-16 19:39:00 +0000
committerEric Andersen2005-04-16 19:39:00 +0000
commit14f5c8d764ab7429367feb407ab86191054e6a8a (patch)
tree2aa792b8a9d8f7af365c456f19f34a963236c26d /archival/libunarchive/decompress_uncompress.c
parenta77b4f39708306d44058d7ca1683f448f51c5fce (diff)
downloadbusybox-14f5c8d764ab7429367feb407ab86191054e6a8a.zip
busybox-14f5c8d764ab7429367feb407ab86191054e6a8a.tar.gz
Patch from Bernhard Fischer to make a bunch of symbols static
which were otherwise cluttering the global namespace.
Diffstat (limited to 'archival/libunarchive/decompress_uncompress.c')
-rw-r--r--archival/libunarchive/decompress_uncompress.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/archival/libunarchive/decompress_uncompress.c b/archival/libunarchive/decompress_uncompress.c
index e39872c..a3fcf64 100644
--- a/archival/libunarchive/decompress_uncompress.c
+++ b/archival/libunarchive/decompress_uncompress.c
@@ -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]