aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-06 20:47:33 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-06 20:47:33 +0000
commit65d898209f1063e88397d8b1411d3b9df3f797ee (patch)
tree588d140a71e857cb32c80d1faad6f3073b119aa7 /shell
parent2cb5ca3cd6461e4e9632f53b4cece1ade0282580 (diff)
downloadbusybox-w32-65d898209f1063e88397d8b1411d3b9df3f797ee.tar.gz
busybox-w32-65d898209f1063e88397d8b1411d3b9df3f797ee.tar.bz2
busybox-w32-65d898209f1063e88397d8b1411d3b9df3f797ee.zip
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
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)
1191} 1191}
1192 1192
1193#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY 1193#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY
1194extern void load_history ( const char *fromfile ) 1194void load_history ( const char *fromfile )
1195{ 1195{
1196 FILE *fp; 1196 FILE *fp;
1197 int hi; 1197 int hi;
@@ -1225,7 +1225,7 @@ extern void load_history ( const char *fromfile )
1225 cur_history = n_history = hi; 1225 cur_history = n_history = hi;
1226} 1226}
1227 1227
1228extern void save_history ( const char *tofile ) 1228void save_history ( const char *tofile )
1229{ 1229{
1230 FILE *fp = fopen ( tofile, "w" ); 1230 FILE *fp = fopen ( tofile, "w" );
1231 1231
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;
819 */ 819 */
820 820
821 821
822extern int msh_main(int argc, char **argv) 822int msh_main(int argc, char **argv)
823{ 823{
824 REGISTER int f; 824 REGISTER int f;
825 REGISTER char *s; 825 REGISTER char *s;