From 74400ccfd08e8ff72b9147951dd437dd3bb7abb1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 18 Oct 2001 04:11:39 +0000 Subject: Scrub up some function prototypes. -Erik --- archival/libunarchive/decompress_unzip.c | 6 +++--- archival/libunarchive/unzip.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'archival/libunarchive') diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index ee746216d..bb32891be 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c @@ -115,13 +115,13 @@ static const unsigned short mask_bits[] = { * Signal and error handler. */ -static void abort_gzip() +static void abort_gzip(void) { error_msg("gzip aborted\n"); exit(ERROR); } -static void make_crc_table() +static void make_crc_table(void) { unsigned long table_entry; /* crc shift register */ unsigned long poly = 0; /* polynomial exclusive-or pattern */ @@ -853,7 +853,7 @@ static int inflate_block(int *e) * * GLOBAL VARIABLES: outcnt, bk, bb, hufts, inptr */ -static int inflate() +static int inflate(void) { int e; /* last block flag */ int r; /* result code */ diff --git a/archival/libunarchive/unzip.c b/archival/libunarchive/unzip.c index ee746216d..bb32891be 100644 --- a/archival/libunarchive/unzip.c +++ b/archival/libunarchive/unzip.c @@ -115,13 +115,13 @@ static const unsigned short mask_bits[] = { * Signal and error handler. */ -static void abort_gzip() +static void abort_gzip(void) { error_msg("gzip aborted\n"); exit(ERROR); } -static void make_crc_table() +static void make_crc_table(void) { unsigned long table_entry; /* crc shift register */ unsigned long poly = 0; /* polynomial exclusive-or pattern */ @@ -853,7 +853,7 @@ static int inflate_block(int *e) * * GLOBAL VARIABLES: outcnt, bk, bb, hufts, inptr */ -static int inflate() +static int inflate(void) { int e; /* last block flag */ int r; /* result code */ -- cgit v1.2.3