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 0f9b3288b..bfaf04ffd 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -7900,8 +7900,8 @@ static void read_profile(const char *); | |||
7900 | * is used to figure out how far we had gotten. | 7900 | * is used to figure out how far we had gotten. |
7901 | */ | 7901 | */ |
7902 | 7902 | ||
7903 | int | 7903 | int ash_main(int argc, char **argv); |
7904 | ash_main(int argc, char **argv) | 7904 | int ash_main(int argc, char **argv) |
7905 | { | 7905 | { |
7906 | char *shinit; | 7906 | char *shinit; |
7907 | volatile int state; | 7907 | volatile int state; |
diff --git a/shell/bbsh.c b/shell/bbsh.c index 7978fdc16..fe27f4418 100644 --- a/shell/bbsh.c +++ b/shell/bbsh.c | |||
@@ -198,6 +198,7 @@ static void handle(char *command) | |||
198 | } | 198 | } |
199 | } | 199 | } |
200 | 200 | ||
201 | int bbsh_main(int argc, char *argv[]); | ||
201 | int bbsh_main(int argc, char *argv[]) | 202 | int bbsh_main(int argc, char *argv[]) |
202 | { | 203 | { |
203 | char *command=NULL; | 204 | char *command=NULL; |
diff --git a/shell/hush.c b/shell/hush.c index c3640ed3a..573724075 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -2686,6 +2686,7 @@ static void setup_job_control(void) | |||
2686 | tcsetpgrp(shell_terminal, shell_pgrp); | 2686 | tcsetpgrp(shell_terminal, shell_pgrp); |
2687 | } | 2687 | } |
2688 | 2688 | ||
2689 | int hush_main(int argc, char **argv); | ||
2689 | int hush_main(int argc, char **argv) | 2690 | int hush_main(int argc, char **argv) |
2690 | { | 2691 | { |
2691 | int opt; | 2692 | int opt; |
diff --git a/shell/lash.c b/shell/lash.c index 51ad3cc06..502e0d829 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -1502,6 +1502,7 @@ static inline void setup_job_control(void) | |||
1502 | } | 1502 | } |
1503 | #endif | 1503 | #endif |
1504 | 1504 | ||
1505 | int lash_main(int argc_l, char **argv_l); | ||
1505 | int lash_main(int argc_l, char **argv_l) | 1506 | int lash_main(int argc_l, char **argv_l) |
1506 | { | 1507 | { |
1507 | unsigned opt; | 1508 | unsigned opt; |
diff --git a/shell/msh.c b/shell/msh.c index 496435189..817b84093 100644 --- a/shell/msh.c +++ b/shell/msh.c | |||
@@ -5097,6 +5097,7 @@ static void freehere(int area) | |||
5097 | * shell | 5097 | * shell |
5098 | */ | 5098 | */ |
5099 | 5099 | ||
5100 | int msh_main(int argc, char **argv); | ||
5100 | int msh_main(int argc, char **argv) | 5101 | int msh_main(int argc, char **argv) |
5101 | { | 5102 | { |
5102 | int f; | 5103 | int f; |