aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:28:39 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:28:39 +0000
commit06af2165288cd6516b89001ec9e24992619230e0 (patch)
tree840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /sysklogd
parentc7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff)
downloadbusybox-06af2165288cd6516b89001ec9e24992619230e0.tar.gz
busybox-06af2165288cd6516b89001ec9e24992619230e0.tar.bz2
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/klogd.c1
-rw-r--r--sysklogd/logger.c1
-rw-r--r--sysklogd/logread.c1
-rw-r--r--sysklogd/syslogd.c1
4 files changed, 4 insertions, 0 deletions
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;