diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/awk.c | 2 | ||||
-rw-r--r-- | editors/patch.c | 2 | ||||
-rw-r--r-- | editors/sed.c | 2 | ||||
-rw-r--r-- | editors/vi.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/editors/awk.c b/editors/awk.c index 39717afae..65856aa55 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -2612,7 +2612,7 @@ static rstream *next_input_file(void) | |||
2612 | return &rsm; | 2612 | return &rsm; |
2613 | } | 2613 | } |
2614 | 2614 | ||
2615 | extern int awk_main(int argc, char **argv) | 2615 | int awk_main(int argc, char **argv) |
2616 | { | 2616 | { |
2617 | char *s, *s1; | 2617 | char *s, *s1; |
2618 | int i, j, c, flen; | 2618 | int i, j, c, flen; |
diff --git a/editors/patch.c b/editors/patch.c index 2248b61e2..9a3740882 100644 --- a/editors/patch.c +++ b/editors/patch.c | |||
@@ -88,7 +88,7 @@ static int file_doesnt_exist(const char *filename) | |||
88 | return(stat(filename, &statbuf)); | 88 | return(stat(filename, &statbuf)); |
89 | } | 89 | } |
90 | 90 | ||
91 | extern int patch_main(int argc, char **argv) | 91 | int patch_main(int argc, char **argv) |
92 | { | 92 | { |
93 | int patch_level = -1; | 93 | int patch_level = -1; |
94 | char *patch_line; | 94 | char *patch_line; |
diff --git a/editors/sed.c b/editors/sed.c index 32116fd29..93d3f89d1 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -1108,7 +1108,7 @@ static void add_cmd_block(char *cmdstr) | |||
1108 | free(temp); | 1108 | free(temp); |
1109 | } | 1109 | } |
1110 | 1110 | ||
1111 | extern int sed_main(int argc, char **argv) | 1111 | int sed_main(int argc, char **argv) |
1112 | { | 1112 | { |
1113 | int status = EXIT_SUCCESS, opt, getpat = 1; | 1113 | int status = EXIT_SUCCESS, opt, getpat = 1; |
1114 | 1114 | ||
diff --git a/editors/vi.c b/editors/vi.c index bf537ee62..4dcef68f9 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -332,7 +332,7 @@ static void write1(const char *out) | |||
332 | fputs(out, stdout); | 332 | fputs(out, stdout); |
333 | } | 333 | } |
334 | 334 | ||
335 | extern int vi_main(int argc, char **argv) | 335 | int vi_main(int argc, char **argv) |
336 | { | 336 | { |
337 | int c; | 337 | int c; |
338 | RESERVE_CONFIG_BUFFER(STATUS_BUFFER, STATUS_BUFFER_LEN); | 338 | RESERVE_CONFIG_BUFFER(STATUS_BUFFER, STATUS_BUFFER_LEN); |