summaryrefslogtreecommitdiffhomepage
path: root/archival/libunarchive
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 /archival/libunarchive
parentb9e57f45f3df9f596b75fadaa62bbd62cbcfb6b6 (diff)
fix warning
Diffstat (limited to 'archival/libunarchive')
-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;
unsigned int bytebuffer_offset = 0;
unsigned int bytebuffer_size = 0;
-static void fill_bytebuffer()
+static void fill_bytebuffer(void)
{
if (bytebuffer_offset >= bytebuffer_size) {
/* 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;
unsigned int bytebuffer_offset = 0;
unsigned int bytebuffer_size = 0;
-static void fill_bytebuffer()
+static void fill_bytebuffer(void)
{
if (bytebuffer_offset >= bytebuffer_size) {
/* Leave the first 4 bytes empty so we can always unwind the bitbuffer