aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/fsck.c6
-rw-r--r--e2fsprogs/old_e2fsprogs/e2fsck.c6
-rw-r--r--e2fsprogs/old_e2fsprogs/fsck.c6
-rw-r--r--e2fsprogs/old_e2fsprogs/mke2fs.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index b70fd7088..cf7f6f070 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -1032,7 +1032,7 @@ static void compile_fs_type(char *fs_type)
}
}
-static void parse_args(int argc, char *argv[])
+static void parse_args(int argc, char **argv)
{
int i, j;
char *arg, *tmp;
@@ -1158,8 +1158,8 @@ 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 fsck_main(int argc, char **argv);
+int fsck_main(int argc, char **argv)
{
int i, status = 0;
int interactive;
diff --git a/e2fsprogs/old_e2fsprogs/e2fsck.c b/e2fsprogs/old_e2fsprogs/e2fsck.c
index a0f691606..bb9f42a4b 100644
--- a/e2fsprogs/old_e2fsprogs/e2fsck.c
+++ b/e2fsprogs/old_e2fsprogs/e2fsck.c
@@ -13001,7 +13001,7 @@ static void parse_extended_opts(e2fsck_t ctx, const char *opts)
}
-static errcode_t PRS(int argc, char *argv[], e2fsck_t *ret_ctx)
+static errcode_t PRS(int argc, char **argv, e2fsck_t *ret_ctx)
{
int flush = 0;
int c, fd;
@@ -13202,8 +13202,8 @@ 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[])
+int e2fsck_main (int argc, char **argv);
+int e2fsck_main (int argc, char **argv)
{
errcode_t retval;
int exit_value = EXIT_OK;
diff --git a/e2fsprogs/old_e2fsprogs/fsck.c b/e2fsprogs/old_e2fsprogs/fsck.c
index 6e8a63742..7b794c3aa 100644
--- a/e2fsprogs/old_e2fsprogs/fsck.c
+++ b/e2fsprogs/old_e2fsprogs/fsck.c
@@ -1171,7 +1171,7 @@ static void signal_cancel(int sig FSCK_ATTR((unused)))
cancel_requested++;
}
-static void PRS(int argc, char *argv[])
+static void PRS(int argc, char **argv)
{
int i, j;
char *arg, *dev, *tmp = 0;
@@ -1321,8 +1321,8 @@ 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 fsck_main(int argc, char **argv);
+int fsck_main(int argc, char **argv)
{
int i, status = 0;
int interactive = 0;
diff --git a/e2fsprogs/old_e2fsprogs/mke2fs.c b/e2fsprogs/old_e2fsprogs/mke2fs.c
index 6cdb16cae..4d5cce307 100644
--- a/e2fsprogs/old_e2fsprogs/mke2fs.c
+++ b/e2fsprogs/old_e2fsprogs/mke2fs.c
@@ -787,7 +787,7 @@ static __u32 ok_features[3] = {
EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER /* R/O compat */
};
-static int PRS(int argc, char *argv[])
+static int PRS(int argc, char **argv)
{
int c;
int size;
@@ -1175,8 +1175,8 @@ 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[])
+int mke2fs_main (int argc, char **argv);
+int mke2fs_main (int argc, char **argv)
{
errcode_t retval;
ext2_filsys fs;