From febe3c421109032cdfb36249c54e314d39256ace Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 4 Apr 2007 20:52:03 +0000 Subject: - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" --- e2fsprogs/old_e2fsprogs/e2fsck.c | 6 +++--- e2fsprogs/old_e2fsprogs/fsck.c | 6 +++--- e2fsprogs/old_e2fsprogs/mke2fs.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'e2fsprogs/old_e2fsprogs') 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 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 6e8a637..7b794c3 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 6cdb16c..4d5cce3 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; -- cgit v1.1