suppress warnings about easch <applet>_main() having
no preceding prototype
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user