aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2006-03-06 20:47:33 +0000
committerGravatar Rob Landley <rob@landley.net>2006-03-06 20:47:33 +0000
commitdfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch)
tree588d140a71e857cb32c80d1faad6f3073b119aa7 /editors
parent1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff)
downloadbusybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.gz
busybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.bz2
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
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 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);