suppress warnings about easch <applet>_main() having

no preceding prototype
This commit is contained in:
Denis Vlasenko
2007-02-03 17:28:39 +00:00
parent c7ba8b9d6c
commit 06af216528
245 changed files with 268 additions and 25 deletions
+2 -2
View File
@@ -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;
+1
View File
@@ -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;
+1
View File
@@ -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;
+1
View File
@@ -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;
+1
View File
@@ -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;