diff options
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 ae7ca23..9af6ecc 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 5a48fbe..42adca4 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 f8d7605..2c90804 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 1572c74..b8f00c0 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 46181cf..45a8051 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; |