aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-12-01 21:52:40 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-12-01 21:52:40 +0000
commitf3faf41334fab96d20854c2b4c1acab022c98028 (patch)
tree5501e873fbac8296f0bce1bfdc0b0a24c3c12309
parentb9e57f45f3df9f596b75fadaa62bbd62cbcfb6b6 (diff)
downloadbusybox-w32-f3faf41334fab96d20854c2b4c1acab022c98028.tar.gz
busybox-w32-f3faf41334fab96d20854c2b4c1acab022c98028.tar.bz2
busybox-w32-f3faf41334fab96d20854c2b4c1acab022c98028.zip
fix warning
-rw-r--r--archival/libunarchive/decompress_unzip.c2
-rw-r--r--archival/libunarchive/unzip.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c
index 770e4141d..1b2d587d6 100644
--- a/archival/libunarchive/decompress_unzip.c
+++ b/archival/libunarchive/decompress_unzip.c
@@ -147,7 +147,7 @@ unsigned char *bytebuffer = NULL;
147unsigned int bytebuffer_offset = 0; 147unsigned int bytebuffer_offset = 0;
148unsigned int bytebuffer_size = 0; 148unsigned int bytebuffer_size = 0;
149 149
150static void fill_bytebuffer() 150static void fill_bytebuffer(void)
151{ 151{
152 if (bytebuffer_offset >= bytebuffer_size) { 152 if (bytebuffer_offset >= bytebuffer_size) {
153 /* Leave the first 4 bytes empty so we can always unwind the bitbuffer 153 /* Leave the first 4 bytes empty so we can always unwind the bitbuffer
diff --git a/archival/libunarchive/unzip.c b/archival/libunarchive/unzip.c
index 770e4141d..1b2d587d6 100644
--- a/archival/libunarchive/unzip.c
+++ b/archival/libunarchive/unzip.c
@@ -147,7 +147,7 @@ unsigned char *bytebuffer = NULL;
147unsigned int bytebuffer_offset = 0; 147unsigned int bytebuffer_offset = 0;
148unsigned int bytebuffer_size = 0; 148unsigned int bytebuffer_size = 0;
149 149
150static void fill_bytebuffer() 150static void fill_bytebuffer(void)
151{ 151{
152 if (bytebuffer_offset >= bytebuffer_size) { 152 if (bytebuffer_offset >= bytebuffer_size) {
153 /* Leave the first 4 bytes empty so we can always unwind the bitbuffer 153 /* Leave the first 4 bytes empty so we can always unwind the bitbuffer