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) return &rsm; } -extern int awk_main(int argc, char **argv) +int awk_main(int argc, char **argv) { char *s, *s1; 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) return(stat(filename, &statbuf)); } -extern int patch_main(int argc, char **argv) +int patch_main(int argc, char **argv) { int patch_level = -1; 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) free(temp); } -extern int sed_main(int argc, char **argv) +int sed_main(int argc, char **argv) { int status = EXIT_SUCCESS, opt, getpat = 1; 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) fputs(out, stdout); } -extern int vi_main(int argc, char **argv) +int vi_main(int argc, char **argv) { int c; RESERVE_CONFIG_BUFFER(STATUS_BUFFER, STATUS_BUFFER_LEN); |