diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/bzip2.c | 2 | ||||
-rw-r--r-- | archival/gzip.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/archival/bzip2.c b/archival/bzip2.c index 76963365f..eb570c434 100644 --- a/archival/bzip2.c +++ b/archival/bzip2.c @@ -141,7 +141,7 @@ char* make_new_name_bzip2(char *filename) } int bzip2_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -int bzip2_main(int argc, char **argv) +int bzip2_main(int argc ATTRIBUTE_UNUSED, char **argv) { unsigned opt; diff --git a/archival/gzip.c b/archival/gzip.c index 36502faf7..a96d02911 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -2026,7 +2026,11 @@ USE_DESKTOP(long long) int pack_gzip(void) } int gzip_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; +#if ENABLE_GUNZIP int gzip_main(int argc, char **argv) +#else +int gzip_main(int argc ATTRIBUTE_UNUSED, char **argv) +#endif { unsigned opt; |