From 99f96972e6d62b532b483555133abc09e7382957 Mon Sep 17 00:00:00 2001 From: bug1 Date: Thu, 22 Aug 2002 19:31:35 +0000 Subject: replace some global const ints with defines git-svn-id: svn://busybox.net/trunk/busybox@5347 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/unzip.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libbb') diff --git a/libbb/unzip.c b/libbb/unzip.c index 76fb86285..0da60c3be 100644 --- a/libbb/unzip.c +++ b/libbb/unzip.c @@ -81,17 +81,17 @@ static unsigned long *crc_table; static unsigned long crc; /* shift register contents */ /* Return codes from gzip */ -static const int ERROR = 1; +#define ERROR 1 /* * window size--must be a power of two, and * at least 32K for zip's deflate method */ -static const int WSIZE = 0x8000; +#define WSIZE 0x8000 /* If BMAX needs to be larger than 16, then h and x[] should be ulg. */ -static const int BMAX = 16; /* maximum bit length of any code (16 for explode) */ -static const int N_MAX = 288; /* maximum number of codes in any set */ +#define BMAX 16 /* maximum bit length of any code (16 for explode) */ +#define N_MAX 288 /* maximum number of codes in any set */ static long bytes_out; /* number of output bytes */ static unsigned long outcnt; /* bytes in output buffer */ -- cgit v1.2.3-55-g6feb