From 06af2165288cd6516b89001ec9e24992619230e0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 3 Feb 2007 17:28:39 +0000 Subject: suppress warnings about easch _main() having no preceding prototype --- sysklogd/klogd.c | 1 + sysklogd/logger.c | 1 + sysklogd/logread.c | 1 + sysklogd/syslogd.c | 1 + 4 files changed, 4 insertions(+) (limited to 'sysklogd') diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index d916878bf..47c2c7252 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c @@ -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); diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 8aaf522d0..71dd53142 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c @@ -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; diff --git a/sysklogd/logread.c b/sysklogd/logread.c index d092056bf..b1758a695 100644 --- a/sysklogd/logread.c +++ b/sysklogd/logread.c @@ -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; diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index bfa9a446c..86bfdc5df 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -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; -- cgit v1.2.3