summaryrefslogtreecommitdiffhomepage
path: root/sysklogd
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-03-06 20:47:33 +0000
committerRob Landley <rob@landley.net>2006-03-06 20:47:33 +0000
commitdfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch)
tree588d140a71e857cb32c80d1faad6f3073b119aa7 /sysklogd
parent1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff)
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
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 5be833f5b..51b01430e 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 4e2e50f36..0c6fb0845 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 8ea8047f7..73ad5a8fe 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 447d891bd..bb8ba1b82 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;