suppress warnings about easch <applet>_main() having
no preceding prototype
diff --git a/archival/ar.c b/archival/ar.c
index 4bcf694..23d9b49 100644
--- a/archival/ar.c
+++ b/archival/ar.c
@@ -38,6 +38,7 @@
 #define AR_OPT_CREATE		0x20
 #define AR_OPT_INSERT		0x40
 
+int ar_main(int argc, char **argv);
 int ar_main(int argc, char **argv)
 {
 	archive_handle_t *archive_handle;
diff --git a/archival/bunzip2.c b/archival/bunzip2.c
index a6cd176..1deac7b 100644
--- a/archival/bunzip2.c
+++ b/archival/bunzip2.c
@@ -12,6 +12,7 @@
 #define BUNZIP2_OPT_STDOUT	1
 #define BUNZIP2_OPT_FORCE	2
 
+int bunzip2_main(int argc, char **argv);
 int bunzip2_main(int argc, char **argv)
 {
 	USE_DESKTOP(long long) int status;
diff --git a/archival/cpio.c b/archival/cpio.c
index 73651ba..0113867 100644
--- a/archival/cpio.c
+++ b/archival/cpio.c
@@ -26,6 +26,7 @@
 #define CPIO_OPT_CREATE_LEADING_DIR	0x20
 #define CPIO_OPT_PRESERVE_MTIME		0x40
 
+int cpio_main(int argc, char **argv);
 int cpio_main(int argc, char **argv)
 {
 	archive_handle_t *archive_handle;
diff --git a/archival/dpkg.c b/archival/dpkg.c
index 126138f..5c69d9c 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -1566,6 +1566,7 @@
 	set_status(status_num, "installed", 3);
 }
 
+int dpkg_main(int argc, char **argv);
 int dpkg_main(int argc, char **argv)
 {
 	deb_file_t **deb_file = NULL;
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c
index c9b8a04..fde3c33 100644
--- a/archival/dpkg_deb.c
+++ b/archival/dpkg_deb.c
@@ -13,6 +13,7 @@
 #define DPKG_DEB_OPT_EXTRACT	8
 #define DPKG_DEB_OPT_EXTRACT_VERBOSE	16
 
+int dpkg_deb_main(int argc, char **argv);
 int dpkg_deb_main(int argc, char **argv)
 {
 	archive_handle_t *ar_archive;
diff --git a/archival/gunzip.c b/archival/gunzip.c
index c5deec3..3d99fe5 100644
--- a/archival/gunzip.c
+++ b/archival/gunzip.c
@@ -36,6 +36,7 @@
 #define GUNZIP_OPT_DECOMPRESS	8
 #define GUNZIP_OPT_VERBOSE	0x10
 
+int gunzip_main(int argc, char **argv);
 int gunzip_main(int argc, char **argv)
 {
 	USE_DESKTOP(long long) int status;
diff --git a/archival/gzip.c b/archival/gzip.c
index 2b520b3..48d1652 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -2086,6 +2086,7 @@
 	exit(1);
 }
 
+int gzip_main(int argc, char **argv);
 int gzip_main(int argc, char **argv)
 {
 	enum {
diff --git a/archival/rpm.c b/archival/rpm.c
index deb87c1..9ab12df 100644
--- a/archival/rpm.c
+++ b/archival/rpm.c
@@ -80,6 +80,7 @@
 static void fileaction_setowngrp(char *filename, int fileref);
 static void loop_through_files(int filetag, void (*fileaction)(char *filename, int fileref));
 
+int rpm_main(int argc, char **argv);
 int rpm_main(int argc, char **argv)
 {
 	int opt = 0, func = 0, rpm_fd, offset;
diff --git a/archival/rpm2cpio.c b/archival/rpm2cpio.c
index 3442046..7a2e64b 100644
--- a/archival/rpm2cpio.c
+++ b/archival/rpm2cpio.c
@@ -49,6 +49,7 @@
 }
 
 /* No getopt required */
+int rpm2cpio_main(int argc, char **argv);
 int rpm2cpio_main(int argc, char **argv)
 {
 	struct rpm_lead lead;
diff --git a/archival/tar.c b/archival/tar.c
index 6c15f65..8bb8459 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -752,6 +752,7 @@
 };
 #endif
 
+int tar_main(int argc, char **argv);
 int tar_main(int argc, char **argv)
 {
 	char (*get_header_ptr)(archive_handle_t *) = get_header_tar;
diff --git a/archival/uncompress.c b/archival/uncompress.c
index 4611790..b16c353 100644
--- a/archival/uncompress.c
+++ b/archival/uncompress.c
@@ -11,6 +11,7 @@
 #define GUNZIP_TO_STDOUT	1
 #define GUNZIP_FORCE	2
 
+int uncompress_main(int argc, char **argv);
 int uncompress_main(int argc, char **argv)
 {
 	int status = EXIT_SUCCESS;
diff --git a/archival/unlzma.c b/archival/unlzma.c
index 20c4ff2..24632c4 100644
--- a/archival/unlzma.c
+++ b/archival/unlzma.c
@@ -15,6 +15,7 @@
 
 #define UNLZMA_OPT_STDOUT	1
 
+int unlzma_main(int argc, char **argv);
 int unlzma_main(int argc, char **argv)
 {
 	USE_DESKTOP(long long) int status;
diff --git a/archival/unzip.c b/archival/unzip.c
index b10132e..5e63170 100644
--- a/archival/unzip.c
+++ b/archival/unzip.c
@@ -93,6 +93,7 @@
 	return 0;
 }
 
+int unzip_main(int argc, char **argv);
 int unzip_main(int argc, char **argv)
 {
 	zip_header_t zip_header;