fix warning
authorGlenn L McGrath <bug1@ihug.co.nz>
Sun, 1 Dec 2002 21:52:40 +0000 (21:52 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sun, 1 Dec 2002 21:52:40 +0000 (21:52 -0000)
archival/libunarchive/decompress_unzip.c
archival/libunarchive/unzip.c

index 770e4141daecf0014f846e879ec257b348057b9e..1b2d587d606f8a5ba38f957d24af5b79240b7902 100644 (file)
@@ -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 
index 770e4141daecf0014f846e879ec257b348057b9e..1b2d587d606f8a5ba38f957d24af5b79240b7902 100644 (file)
@@ -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