summaryrefslogtreecommitdiffhomepage
path: root/e2fsprogs/old_e2fsprogs
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:28:39 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:28:39 +0000
commit06af2165288cd6516b89001ec9e24992619230e0 (patch)
tree840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /e2fsprogs/old_e2fsprogs
parentc7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff)
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'e2fsprogs/old_e2fsprogs')
-rw-r--r--e2fsprogs/old_e2fsprogs/chattr.c1
-rw-r--r--e2fsprogs/old_e2fsprogs/e2fsck.c1
-rw-r--r--e2fsprogs/old_e2fsprogs/fsck.c1
-rw-r--r--e2fsprogs/old_e2fsprogs/lsattr.c1
-rw-r--r--e2fsprogs/old_e2fsprogs/mke2fs.c1
-rw-r--r--e2fsprogs/old_e2fsprogs/tune2fs.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/e2fsprogs/old_e2fsprogs/chattr.c b/e2fsprogs/old_e2fsprogs/chattr.c
index 4848e1e1a..8f62a5d10 100644
--- a/e2fsprogs/old_e2fsprogs/chattr.c
+++ b/e2fsprogs/old_e2fsprogs/chattr.c
@@ -170,6 +170,7 @@ static int chattr_dir_proc(const char *dir_name, struct dirent *de,
return 0;
}
+int chattr_main(int argc, char **argv);
int chattr_main(int argc, char **argv)
{
int i;
diff --git a/e2fsprogs/old_e2fsprogs/e2fsck.c b/e2fsprogs/old_e2fsprogs/e2fsck.c
index 408b2758d..d506db2ac 100644
--- a/e2fsprogs/old_e2fsprogs/e2fsck.c
+++ b/e2fsprogs/old_e2fsprogs/e2fsck.c
@@ -13207,6 +13207,7 @@ static errcode_t PRS(int argc, char *argv[], e2fsck_t *ret_ctx)
static const char my_ver_string[] = E2FSPROGS_VERSION;
static const char my_ver_date[] = E2FSPROGS_DATE;
+int e2fsck_main (int argc, char *argv[]);
int e2fsck_main (int argc, char *argv[])
{
errcode_t retval;
diff --git a/e2fsprogs/old_e2fsprogs/fsck.c b/e2fsprogs/old_e2fsprogs/fsck.c
index da66250f1..ce2a9688f 100644
--- a/e2fsprogs/old_e2fsprogs/fsck.c
+++ b/e2fsprogs/old_e2fsprogs/fsck.c
@@ -1322,6 +1322,7 @@ static void PRS(int argc, char *argv[])
max_running = atoi(tmp);
}
+int fsck_main(int argc, char *argv[]);
int fsck_main(int argc, char *argv[])
{
int i, status = 0;
diff --git a/e2fsprogs/old_e2fsprogs/lsattr.c b/e2fsprogs/old_e2fsprogs/lsattr.c
index eb28fcbab..b418f6bad 100644
--- a/e2fsprogs/old_e2fsprogs/lsattr.c
+++ b/e2fsprogs/old_e2fsprogs/lsattr.c
@@ -112,6 +112,7 @@ static int lsattr_dir_proc(const char *dir_name, struct dirent *de,
return 0;
}
+int lsattr_main(int argc, char **argv);
int lsattr_main(int argc, char **argv)
{
int i;
diff --git a/e2fsprogs/old_e2fsprogs/mke2fs.c b/e2fsprogs/old_e2fsprogs/mke2fs.c
index f25ecfb6c..45a67239e 100644
--- a/e2fsprogs/old_e2fsprogs/mke2fs.c
+++ b/e2fsprogs/old_e2fsprogs/mke2fs.c
@@ -1176,6 +1176,7 @@ static void mke2fs_clean_up(void)
if (ENABLE_FEATURE_CLEAN_UP && journal_device) free(journal_device);
}
+int mke2fs_main (int argc, char *argv[]);
int mke2fs_main (int argc, char *argv[])
{
errcode_t retval;
diff --git a/e2fsprogs/old_e2fsprogs/tune2fs.c b/e2fsprogs/old_e2fsprogs/tune2fs.c
index c4e084ecd..12af006da 100644
--- a/e2fsprogs/old_e2fsprogs/tune2fs.c
+++ b/e2fsprogs/old_e2fsprogs/tune2fs.c
@@ -578,6 +578,7 @@ static void tune2fs_clean_up(void)
if (ENABLE_FEATURE_CLEAN_UP && journal_device) free(journal_device);
}
+int tune2fs_main(int argc, char **argv);
int tune2fs_main(int argc, char **argv)
{
errcode_t retval;