diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-02-09 12:00:17 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-02-09 12:00:17 +0000 |
commit | 826b48b624e3c02b432b8ffbb7809657ddb3a012 (patch) | |
tree | 26f73124d9e530b29af8862a46a99720f0be780c /archival | |
parent | a837e2d9b3fe77f8cbddb7c5c50987822b9dc44b (diff) | |
download | busybox-w32-826b48b624e3c02b432b8ffbb7809657ddb3a012.tar.gz busybox-w32-826b48b624e3c02b432b8ffbb7809657ddb3a012.tar.bz2 busybox-w32-826b48b624e3c02b432b8ffbb7809657ddb3a012.zip |
Woops, my gunzip fix broke unzip, these cant be static
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libunarchive/decompress_unzip.c | 4 | ||||
-rw-r--r-- | archival/libunarchive/unzip.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index 8da9b5cb9..3a7334ce9 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c | |||
@@ -83,7 +83,7 @@ typedef struct huft_s { | |||
83 | } huft_t; | 83 | } huft_t; |
84 | 84 | ||
85 | static int gunzip_src_fd; | 85 | static int gunzip_src_fd; |
86 | static unsigned int gunzip_bytes_out; /* number of output bytes */ | 86 | unsigned int gunzip_bytes_out; /* number of output bytes */ |
87 | static unsigned int gunzip_outbuf_count; /* bytes in output buffer */ | 87 | static unsigned int gunzip_outbuf_count; /* bytes in output buffer */ |
88 | 88 | ||
89 | /* gunzip_window size--must be a power of two, and | 89 | /* gunzip_window size--must be a power of two, and |
@@ -92,7 +92,7 @@ static const int gunzip_wsize = 0x8000; | |||
92 | static unsigned char *gunzip_window; | 92 | static unsigned char *gunzip_window; |
93 | 93 | ||
94 | static unsigned int *gunzip_crc_table; | 94 | static unsigned int *gunzip_crc_table; |
95 | static unsigned int gunzip_crc; | 95 | unsigned int gunzip_crc; |
96 | 96 | ||
97 | /* If BMAX needs to be larger than 16, then h and x[] should be ulg. */ | 97 | /* If BMAX needs to be larger than 16, then h and x[] should be ulg. */ |
98 | #define BMAX 16 /* maximum bit length of any code (16 for explode) */ | 98 | #define BMAX 16 /* maximum bit length of any code (16 for explode) */ |
diff --git a/archival/libunarchive/unzip.c b/archival/libunarchive/unzip.c index 8da9b5cb9..3a7334ce9 100644 --- a/archival/libunarchive/unzip.c +++ b/archival/libunarchive/unzip.c | |||
@@ -83,7 +83,7 @@ typedef struct huft_s { | |||
83 | } huft_t; | 83 | } huft_t; |
84 | 84 | ||
85 | static int gunzip_src_fd; | 85 | static int gunzip_src_fd; |
86 | static unsigned int gunzip_bytes_out; /* number of output bytes */ | 86 | unsigned int gunzip_bytes_out; /* number of output bytes */ |
87 | static unsigned int gunzip_outbuf_count; /* bytes in output buffer */ | 87 | static unsigned int gunzip_outbuf_count; /* bytes in output buffer */ |
88 | 88 | ||
89 | /* gunzip_window size--must be a power of two, and | 89 | /* gunzip_window size--must be a power of two, and |
@@ -92,7 +92,7 @@ static const int gunzip_wsize = 0x8000; | |||
92 | static unsigned char *gunzip_window; | 92 | static unsigned char *gunzip_window; |
93 | 93 | ||
94 | static unsigned int *gunzip_crc_table; | 94 | static unsigned int *gunzip_crc_table; |
95 | static unsigned int gunzip_crc; | 95 | unsigned int gunzip_crc; |
96 | 96 | ||
97 | /* If BMAX needs to be larger than 16, then h and x[] should be ulg. */ | 97 | /* If BMAX needs to be larger than 16, then h and x[] should be ulg. */ |
98 | #define BMAX 16 /* maximum bit length of any code (16 for explode) */ | 98 | #define BMAX 16 /* maximum bit length of any code (16 for explode) */ |