diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-21 21:52:25 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-21 21:52:25 +0000 |
commit | 851895ab80341f80398b93c9ad4aa20fcf463730 (patch) | |
tree | 53abdf274e7255fef7cf3008fcd341f946fdadbe /gzip.c | |
parent | 1ca20a77476fb69e2472080ef6ba23c8c0ad12ad (diff) | |
download | busybox-w32-851895ab80341f80398b93c9ad4aa20fcf463730.tar.gz busybox-w32-851895ab80341f80398b93c9ad4aa20fcf463730.tar.bz2 busybox-w32-851895ab80341f80398b93c9ad4aa20fcf463730.zip |
Clean up more local vars which shadow globals
-Erik
Diffstat (limited to 'gzip.c')
-rw-r--r-- | gzip.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -294,7 +294,7 @@ void lm_init (ush * flags); | |||
294 | ulg deflate (void); | 294 | ulg deflate (void); |
295 | 295 | ||
296 | /* in trees.c */ | 296 | /* in trees.c */ |
297 | void ct_init (ush * attr, int *method); | 297 | void ct_init (ush * attr, int *methodp); |
298 | int ct_tally (int dist, int lc); | 298 | int ct_tally (int dist, int lc); |
299 | ulg flush_block (char *buf, ulg stored_len, int eof); | 299 | ulg flush_block (char *buf, ulg stored_len, int eof); |
300 | 300 | ||
@@ -3299,7 +3299,7 @@ long header_bytes; /* number of bytes in gzip header */ | |||
3299 | int zip(in, out) | 3299 | int zip(in, out) |
3300 | int in, out; /* input and output file descriptors */ | 3300 | int in, out; /* input and output file descriptors */ |
3301 | { | 3301 | { |
3302 | uch flags = 0; /* general purpose bit flags */ | 3302 | uch my_flags = 0; /* general purpose bit flags */ |
3303 | ush attr = 0; /* ascii/binary flag */ | 3303 | ush attr = 0; /* ascii/binary flag */ |
3304 | ush deflate_flags = 0; /* pkzip -es, -en or -ex equivalent */ | 3304 | ush deflate_flags = 0; /* pkzip -es, -en or -ex equivalent */ |
3305 | 3305 | ||
@@ -3315,7 +3315,7 @@ int in, out; /* input and output file descriptors */ | |||
3315 | put_byte(GZIP_MAGIC[1]); | 3315 | put_byte(GZIP_MAGIC[1]); |
3316 | put_byte(DEFLATED); /* compression method */ | 3316 | put_byte(DEFLATED); /* compression method */ |
3317 | 3317 | ||
3318 | put_byte(flags); /* general flags */ | 3318 | put_byte(my_flags); /* general flags */ |
3319 | put_long(time_stamp); | 3319 | put_long(time_stamp); |
3320 | 3320 | ||
3321 | /* Write deflated file to zip file */ | 3321 | /* Write deflated file to zip file */ |