summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/klogd.c2
-rw-r--r--sysklogd/logger.c2
-rw-r--r--sysklogd/logread.c2
-rw-r--r--sysklogd/syslogd.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c
index 5be833f..51b0143 100644
--- a/sysklogd/klogd.c
+++ b/sysklogd/klogd.c
@@ -103,7 +103,7 @@ static void doKlogd(const int console_log_level)
#define OPT_LEVEL 1
#define OPT_FOREGROUND 2
-extern int klogd_main(int argc, char **argv)
+int klogd_main(int argc, char **argv)
{
unsigned long opt;
char *c_arg;
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index 4e2e50f..0c6fb08 100644
--- a/sysklogd/logger.c
+++ b/sysklogd/logger.c
@@ -100,7 +100,7 @@ static int pencode(char *s)
}
-extern int logger_main(int argc, char **argv)
+int logger_main(int argc, char **argv)
{
int pri = LOG_USER | LOG_NOTICE;
int option = 0;
diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index 8ea8047..73ad5a8 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -75,7 +75,7 @@ static inline void sem_down(int semid)
error_exit("semop[SMrdn]");
}
-extern int logread_main(int argc, char **argv)
+int logread_main(int argc, char **argv)
{
int i;
int follow=0;
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 447d891..bb8ba1b 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -602,7 +602,7 @@ static void doSyslogd(void)
} /* for main loop */
}
-extern int syslogd_main(int argc, char **argv)
+int syslogd_main(int argc, char **argv)
{
int opt;