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

@@ -34,6 +34,7 @@ static void klogd_signal(int sig ATTRIBUTE_UNUSED)
#define KLOGD_LOGBUF_SIZE 4096
int klogd_main(int argc, char **argv);
int klogd_main(int argc, char **argv)
{
RESERVE_CONFIG_BUFFER(log_buffer, KLOGD_LOGBUF_SIZE);

View File

@@ -81,6 +81,7 @@ static int pencode(char *s)
}
int logger_main(int argc, char **argv);
int logger_main(int argc, char **argv)
{
char *str_p, *str_t;

View File

@@ -54,6 +54,7 @@ static void interrupted(int sig ATTRIBUTE_UNUSED)
exit(0);
}
int logread_main(int argc, char **argv);
int logread_main(int argc, char **argv)
{
int cur;

View File

@@ -542,6 +542,7 @@ static void do_syslogd(void)
} /* for */
}
int syslogd_main(int argc, char **argv);
int syslogd_main(int argc, char **argv)
{
char OPTION_DECL;