aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/chattr.c1
-rw-r--r--e2fsprogs/fsck.c1
-rw-r--r--e2fsprogs/lsattr.c1
-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
9 files changed, 9 insertions, 0 deletions
diff --git a/e2fsprogs/chattr.c b/e2fsprogs/chattr.c
index f46646d71..1b7942e1f 100644
--- a/e2fsprogs/chattr.c
+++ b/e2fsprogs/chattr.c
@@ -147,6 +147,7 @@ static void change_attributes(const char *name)
iterate_on_dir(name, chattr_dir_proc, NULL);
}
+int chattr_main(int argc, char **argv);
int chattr_main(int argc, char **argv)
{
char *arg;
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index 8cbfc89fb..9ec31d2a3 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -1173,6 +1173,7 @@ static void signal_cancel(int sig ATTRIBUTE_UNUSED)
cancel_requested = 1;
}
+int fsck_main(int argc, char *argv[]);
int fsck_main(int argc, char *argv[])
{
int i, status = 0;
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c
index f317b047e..8945b53e0 100644
--- a/e2fsprogs/lsattr.c
+++ b/e2fsprogs/lsattr.c
@@ -98,6 +98,7 @@ static void lsattr_args(const char *name)
}
}
+int lsattr_main(int argc, char **argv);
int lsattr_main(int argc, char **argv)
{
getopt32(argc, argv, "Radlv");
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;