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

View File

@@ -2644,6 +2644,7 @@ static rstream *next_input_file(void)
return &rsm;
}
int awk_main(int argc, char **argv);
int awk_main(int argc, char **argv)
{
unsigned opt;

View File

@@ -40,6 +40,7 @@ static LINE *findLine(int num);
static int findString(const LINE *lp, const char * str, int len, int offset);
int ed_main(int argc, char **argv);
int ed_main(int argc, char **argv)
{
if (!initEdit())

View File

@@ -75,6 +75,7 @@ static int file_doesnt_exist(const char *filename)
return stat(filename, &statbuf);
}
int patch_main(int argc, char **argv);
int patch_main(int argc, char **argv)
{
int patch_level = -1;

View File

@@ -1215,6 +1215,7 @@ static void add_files_link(llist_t *opt_f)
free(opt_f);
}
int sed_main(int argc, char **argv);
int sed_main(int argc, char **argv)
{
enum {

View File

@@ -264,6 +264,7 @@ static void write1(const char *out)
fputs(out, stdout);
}
int vi_main(int argc, char **argv);
int vi_main(int argc, char **argv)
{
int c;