aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/awk.c1
-rw-r--r--editors/ed.c1
-rw-r--r--editors/patch.c1
-rw-r--r--editors/sed.c1
-rw-r--r--editors/vi.c1
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)
2644 return &rsm; 2644 return &rsm;
2645} 2645}
2646 2646
2647int awk_main(int argc, char **argv);
2647int awk_main(int argc, char **argv) 2648int awk_main(int argc, char **argv)
2648{ 2649{
2649 unsigned opt; 2650 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);
40 40
41static int findString(const LINE *lp, const char * str, int len, int offset); 41static int findString(const LINE *lp, const char * str, int len, int offset);
42 42
43int ed_main(int argc, char **argv);
43int ed_main(int argc, char **argv) 44int ed_main(int argc, char **argv)
44{ 45{
45 if (!initEdit()) 46 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)
75 return stat(filename, &statbuf); 75 return stat(filename, &statbuf);
76} 76}
77 77
78int patch_main(int argc, char **argv);
78int patch_main(int argc, char **argv) 79int patch_main(int argc, char **argv)
79{ 80{
80 int patch_level = -1; 81 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)
1215 free(opt_f); 1215 free(opt_f);
1216} 1216}
1217 1217
1218int sed_main(int argc, char **argv);
1218int sed_main(int argc, char **argv) 1219int sed_main(int argc, char **argv)
1219{ 1220{
1220 enum { 1221 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)
264 fputs(out, stdout); 264 fputs(out, stdout);
265} 265}
266 266
267int vi_main(int argc, char **argv);
267int vi_main(int argc, char **argv) 268int vi_main(int argc, char **argv)
268{ 269{
269 int c; 270 int c;