diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 17:28:39 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 17:28:39 +0000 |
commit | 06af2165288cd6516b89001ec9e24992619230e0 (patch) | |
tree | 840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /editors | |
parent | c7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff) | |
download | busybox-06af2165288cd6516b89001ec9e24992619230e0.tar.gz |
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'editors')
-rw-r--r-- | editors/awk.c | 1 | ||||
-rw-r--r-- | editors/ed.c | 1 | ||||
-rw-r--r-- | editors/patch.c | 1 | ||||
-rw-r--r-- | editors/sed.c | 1 | ||||
-rw-r--r-- | editors/vi.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/editors/awk.c b/editors/awk.c index ae7ca23d4..9af6ecc5b 100644 --- a/editors/awk.c +++ b/editors/awk.c @@ -2644,6 +2644,7 @@ static rstream *next_input_file(void) return &rsm; } +int awk_main(int argc, char **argv); int awk_main(int argc, char **argv) { unsigned opt; diff --git a/editors/ed.c b/editors/ed.c index 5a48fbe75..42adca409 100644 --- a/editors/ed.c +++ b/editors/ed.c @@ -40,6 +40,7 @@ static LINE *findLine(int num); static int findString(const LINE *lp, const char * str, int len, int offset); +int ed_main(int argc, char **argv); int ed_main(int argc, char **argv) { if (!initEdit()) diff --git a/editors/patch.c b/editors/patch.c index f8d7605c0..2c908040f 100644 --- a/editors/patch.c +++ b/editors/patch.c @@ -75,6 +75,7 @@ static int file_doesnt_exist(const char *filename) return stat(filename, &statbuf); } +int patch_main(int argc, char **argv); int patch_main(int argc, char **argv) { int patch_level = -1; diff --git a/editors/sed.c b/editors/sed.c index 1572c74ba..b8f00c0c9 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -1215,6 +1215,7 @@ static void add_files_link(llist_t *opt_f) free(opt_f); } +int sed_main(int argc, char **argv); int sed_main(int argc, char **argv) { enum { diff --git a/editors/vi.c b/editors/vi.c index 46181cf60..45a80517d 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -264,6 +264,7 @@ static void write1(const char *out) fputs(out, stdout); } +int vi_main(int argc, char **argv); int vi_main(int argc, char **argv) { int c; |