diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 4 | ||||
-rw-r--r-- | shell/bbsh.c | 1 | ||||
-rw-r--r-- | shell/hush.c | 1 | ||||
-rw-r--r-- | shell/lash.c | 1 | ||||
-rw-r--r-- | shell/msh.c | 1 |
5 files changed, 6 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index 0f9b328..bfaf04f 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -7900,8 +7900,8 @@ static void read_profile(const char *); * is used to figure out how far we had gotten. */ -int -ash_main(int argc, char **argv) +int ash_main(int argc, char **argv); +int ash_main(int argc, char **argv) { char *shinit; volatile int state; diff --git a/shell/bbsh.c b/shell/bbsh.c index 7978fdc..fe27f44 100644 --- a/shell/bbsh.c +++ b/shell/bbsh.c @@ -198,6 +198,7 @@ static void handle(char *command) } } +int bbsh_main(int argc, char *argv[]); int bbsh_main(int argc, char *argv[]) { char *command=NULL; diff --git a/shell/hush.c b/shell/hush.c index c3640ed..5737240 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -2686,6 +2686,7 @@ static void setup_job_control(void) tcsetpgrp(shell_terminal, shell_pgrp); } +int hush_main(int argc, char **argv); int hush_main(int argc, char **argv) { int opt; diff --git a/shell/lash.c b/shell/lash.c index 51ad3cc..502e0d8 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -1502,6 +1502,7 @@ static inline void setup_job_control(void) } #endif +int lash_main(int argc_l, char **argv_l); int lash_main(int argc_l, char **argv_l) { unsigned opt; diff --git a/shell/msh.c b/shell/msh.c index 4964351..817b840 100644 --- a/shell/msh.c +++ b/shell/msh.c @@ -5097,6 +5097,7 @@ static void freehere(int area) * shell */ +int msh_main(int argc, char **argv); int msh_main(int argc, char **argv) { int f; |