- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index b70fd70..cf7f6f0 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -1032,7 +1032,7 @@
 	}
 }
 
-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 @@
 	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 a0f6916..bb9f42a 100644
--- a/e2fsprogs/old_e2fsprogs/e2fsck.c
+++ b/e2fsprogs/old_e2fsprogs/e2fsck.c
@@ -13001,7 +13001,7 @@
 }
 
 
-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 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 6e8a637..7b794c3 100644
--- a/e2fsprogs/old_e2fsprogs/fsck.c
+++ b/e2fsprogs/old_e2fsprogs/fsck.c
@@ -1171,7 +1171,7 @@
 	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 @@
 	    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 6cdb16c..4d5cce3 100644
--- a/e2fsprogs/old_e2fsprogs/mke2fs.c
+++ b/e2fsprogs/old_e2fsprogs/mke2fs.c
@@ -787,7 +787,7 @@
 	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 @@
 	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;