diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 20:28:39 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 20:28:39 +0300 |
commit | 06af2165288cd6516b89001ec9e24992619230e0 (patch) | |
tree | 840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /archival | |
parent | c7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff) |
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'archival')
-rw-r--r-- | archival/ar.c | 1 | ||||
-rw-r--r-- | archival/bunzip2.c | 1 | ||||
-rw-r--r-- | archival/cpio.c | 1 | ||||
-rw-r--r-- | archival/dpkg.c | 1 | ||||
-rw-r--r-- | archival/dpkg_deb.c | 1 | ||||
-rw-r--r-- | archival/gunzip.c | 1 | ||||
-rw-r--r-- | archival/gzip.c | 1 | ||||
-rw-r--r-- | archival/rpm.c | 1 | ||||
-rw-r--r-- | archival/rpm2cpio.c | 1 | ||||
-rw-r--r-- | archival/tar.c | 1 | ||||
-rw-r--r-- | archival/uncompress.c | 1 | ||||
-rw-r--r-- | archival/unlzma.c | 1 | ||||
-rw-r--r-- | archival/unzip.c | 1 |
13 files changed, 13 insertions, 0 deletions
diff --git a/archival/ar.c b/archival/ar.c index 4bcf6946f..23d9b49a5 100644 --- a/archival/ar.c +++ b/archival/ar.c @@ -38,6 +38,7 @@ static void header_verbose_list_ar(const file_header_t *file_header) #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 a6cd17611..1deac7b53 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 73651ba10..011386782 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 126138f80..5c69d9c64 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -1566,6 +1566,7 @@ static void configure_package(deb_file_t *deb_file) 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 c9b8a0429..fde3c3382 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 c5deec3ce..3d99fe506 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 2b520b3e7..48d1652bc 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -2086,6 +2086,7 @@ static void abort_gzip(int ATTRIBUTE_UNUSED ignored) 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 deb87c180..9ab12df2d 100644 --- a/archival/rpm.c +++ b/archival/rpm.c @@ -80,6 +80,7 @@ static void fileaction_dobackup(char *filename, int fileref); 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 3442046c4..7a2e64b86 100644 --- a/archival/rpm2cpio.c +++ b/archival/rpm2cpio.c @@ -49,6 +49,7 @@ static void skip_header(int rpm_fd) } /* 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 6c15f65c9..8bb845942 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -752,6 +752,7 @@ static const struct option tar_long_options[] = { }; #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 461179016..b16c353ec 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 20c4ff2a7..24632c4a7 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 b10132ebd..5e631705c 100644 --- a/archival/unzip.c +++ b/archival/unzip.c @@ -93,6 +93,7 @@ static int unzip_extract(zip_header_t *zip_header, int src_fd, int dst_fd) return 0; } +int unzip_main(int argc, char **argv); int unzip_main(int argc, char **argv) { zip_header_t zip_header; |