diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-05-10 20:10:13 +1000 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-05-10 20:10:13 +1000 |
commit | d2a9ddeb6cc58284996fbc5367877c99fee8914e (patch) | |
tree | 187cadb382d0336bbc529cc7ca9e3d1ccd680213 /archival/gzip.c | |
parent | 1fa419fb3c7ef91e878398bb0388854d27d7bd8f (diff) | |
download | busybox-w32-old.tar.gz busybox-w32-old.tar.bz2 busybox-w32-old.zip |
general warning cleanupold
Diffstat (limited to 'archival/gzip.c')
-rw-r--r-- | archival/gzip.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index fdf2a794c..14d1ef2b0 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
@@ -1589,6 +1589,9 @@ static void compress_block(ct_data * ltree, ct_data * dtree) | |||
1589 | * trees or store, and output the encoded block to the zip file. This function | 1589 | * trees or store, and output the encoded block to the zip file. This function |
1590 | * returns the total compressed length for the file so far. | 1590 | * returns the total compressed length for the file so far. |
1591 | */ | 1591 | */ |
1592 | #ifdef __MINGW32__ | ||
1593 | #define eof eof_ | ||
1594 | #endif | ||
1592 | static ulg flush_block(char *buf, ulg stored_len, int eof) | 1595 | static ulg flush_block(char *buf, ulg stored_len, int eof) |
1593 | { | 1596 | { |
1594 | ulg opt_lenb, static_lenb; /* opt_len and static_len in bytes */ | 1597 | ulg opt_lenb, static_lenb; /* opt_len and static_len in bytes */ |
@@ -1672,6 +1675,9 @@ static ulg flush_block(char *buf, ulg stored_len, int eof) | |||
1672 | 1675 | ||
1673 | return G2.compressed_len >> 3; | 1676 | return G2.compressed_len >> 3; |
1674 | } | 1677 | } |
1678 | #ifdef __MINGW32__ | ||
1679 | #undef eof | ||
1680 | #endif | ||
1675 | 1681 | ||
1676 | 1682 | ||
1677 | /* =========================================================================== | 1683 | /* =========================================================================== |