summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/awk.c2
-rw-r--r--editors/patch.c2
-rw-r--r--editors/sed.c2
-rw-r--r--editors/vi.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/editors/awk.c b/editors/awk.c
index 39717af..65856aa 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 2248b61..9a37408 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 32116fd..93d3f89 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 bf537ee..4dcef68 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);