summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
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 d916878..47c2c72 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 8aaf522..71dd531 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 d092056..b1758a6 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 bfa9a44..86bfdc5 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;