aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
-rw-r--r--shell/bbsh.c1
-rw-r--r--shell/hush.c1
-rw-r--r--shell/lash.c1
-rw-r--r--shell/msh.c1
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
7903int 7903int ash_main(int argc, char **argv);
7904ash_main(int argc, char **argv) 7904int 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
201int bbsh_main(int argc, char *argv[]);
201int bbsh_main(int argc, char *argv[]) 202int 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
2689int hush_main(int argc, char **argv);
2689int hush_main(int argc, char **argv) 2690int 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
1505int lash_main(int argc_l, char **argv_l);
1505int lash_main(int argc_l, char **argv_l) 1506int 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
5100int msh_main(int argc, char **argv);
5100int msh_main(int argc, char **argv) 5101int msh_main(int argc, char **argv)
5101{ 5102{
5102 int f; 5103 int f;