aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/gzip.c2
-rw-r--r--archival/libunarchive/decompress_unzip.c6
-rw-r--r--archival/libunarchive/unzip.c6
3 files changed, 7 insertions, 7 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index 53646df7c..5c86c1070 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -354,7 +354,7 @@ static void clear_bufs(void)
354 bytes_in = 0L; 354 bytes_in = 0L;
355} 355}
356 356
357static void write_error_msg() 357static void write_error_msg(void)
358{ 358{
359 fprintf(stderr, "\n"); 359 fprintf(stderr, "\n");
360 perror(""); 360 perror("");
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[] = {
115 * Signal and error handler. 115 * Signal and error handler.
116 */ 116 */
117 117
118static void abort_gzip() 118static void abort_gzip(void)
119{ 119{
120 error_msg("gzip aborted\n"); 120 error_msg("gzip aborted\n");
121 exit(ERROR); 121 exit(ERROR);
122} 122}
123 123
124static void make_crc_table() 124static void make_crc_table(void)
125{ 125{
126 unsigned long table_entry; /* crc shift register */ 126 unsigned long table_entry; /* crc shift register */
127 unsigned long poly = 0; /* polynomial exclusive-or pattern */ 127 unsigned long poly = 0; /* polynomial exclusive-or pattern */
@@ -853,7 +853,7 @@ static int inflate_block(int *e)
853 * 853 *
854 * GLOBAL VARIABLES: outcnt, bk, bb, hufts, inptr 854 * GLOBAL VARIABLES: outcnt, bk, bb, hufts, inptr
855 */ 855 */
856static int inflate() 856static int inflate(void)
857{ 857{
858 int e; /* last block flag */ 858 int e; /* last block flag */
859 int r; /* result code */ 859 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[] = {
115 * Signal and error handler. 115 * Signal and error handler.
116 */ 116 */
117 117
118static void abort_gzip() 118static void abort_gzip(void)
119{ 119{
120 error_msg("gzip aborted\n"); 120 error_msg("gzip aborted\n");
121 exit(ERROR); 121 exit(ERROR);
122} 122}
123 123
124static void make_crc_table() 124static void make_crc_table(void)
125{ 125{
126 unsigned long table_entry; /* crc shift register */ 126 unsigned long table_entry; /* crc shift register */
127 unsigned long poly = 0; /* polynomial exclusive-or pattern */ 127 unsigned long poly = 0; /* polynomial exclusive-or pattern */
@@ -853,7 +853,7 @@ static int inflate_block(int *e)
853 * 853 *
854 * GLOBAL VARIABLES: outcnt, bk, bb, hufts, inptr 854 * GLOBAL VARIABLES: outcnt, bk, bb, hufts, inptr
855 */ 855 */
856static int inflate() 856static int inflate(void)
857{ 857{
858 int e; /* last block flag */ 858 int e; /* last block flag */
859 int r; /* result code */ 859 int r; /* result code */