aboutsummaryrefslogtreecommitdiff
path: root/gzip.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-21 21:52:25 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-21 21:52:25 +0000
commit851895ab80341f80398b93c9ad4aa20fcf463730 (patch)
tree53abdf274e7255fef7cf3008fcd341f946fdadbe /gzip.c
parent1ca20a77476fb69e2472080ef6ba23c8c0ad12ad (diff)
downloadbusybox-851895ab80341f80398b93c9ad4aa20fcf463730.tar.gz
Clean up more local vars which shadow globals
-Erik
Diffstat (limited to 'gzip.c')
-rw-r--r--gzip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gzip.c b/gzip.c
index 6c058d2b6..6369b894a 100644
--- a/gzip.c
+++ b/gzip.c
@@ -294,7 +294,7 @@ void lm_init (ush * flags);
ulg deflate (void);
/* in trees.c */
-void ct_init (ush * attr, int *method);
+void ct_init (ush * attr, int *methodp);
int ct_tally (int dist, int lc);
ulg flush_block (char *buf, ulg stored_len, int eof);
@@ -3299,7 +3299,7 @@ long header_bytes; /* number of bytes in gzip header */
int zip(in, out)
int in, out; /* input and output file descriptors */
{
- uch flags = 0; /* general purpose bit flags */
+ uch my_flags = 0; /* general purpose bit flags */
ush attr = 0; /* ascii/binary flag */
ush deflate_flags = 0; /* pkzip -es, -en or -ex equivalent */
@@ -3315,7 +3315,7 @@ int in, out; /* input and output file descriptors */
put_byte(GZIP_MAGIC[1]);
put_byte(DEFLATED); /* compression method */
- put_byte(flags); /* general flags */
+ put_byte(my_flags); /* general flags */
put_long(time_stamp);
/* Write deflated file to zip file */