aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-03-06 20:47:33 +0000
committerRob Landley <rob@landley.net>2006-03-06 20:47:33 +0000
commitdfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch)
tree588d140a71e857cb32c80d1faad6f3073b119aa7 /shell
parent1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff)
downloadbusybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.gz
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
Diffstat (limited to 'shell')
-rw-r--r--shell/cmdedit.c4
-rw-r--r--shell/msh.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index f999b88e9..31f4c7b20 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -1191,7 +1191,7 @@ static int get_next_history(void)
}
#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
-extern void load_history ( const char *fromfile )
+void load_history ( const char *fromfile )
{
FILE *fp;
int hi;
@@ -1225,7 +1225,7 @@ extern void load_history ( const char *fromfile )
cur_history = n_history = hi;
}
-extern void save_history ( const char *tofile )
+void save_history ( const char *tofile )
{
FILE *fp = fopen ( tofile, "w" );
diff --git a/shell/msh.c b/shell/msh.c
index 375b1266e..b3bb06b28 100644
--- a/shell/msh.c
+++ b/shell/msh.c
@@ -819,7 +819,7 @@ static char *current_prompt;
*/
-extern int msh_main(int argc, char **argv)
+int msh_main(int argc, char **argv)
{
REGISTER int f;
REGISTER char *s;