diff options
Diffstat (limited to 'sysklogd/klogd.c')
-rw-r--r-- | sysklogd/klogd.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index 92590d2..677c9e6 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c @@ -18,13 +18,6 @@ */ #include "busybox.h" -#include <stdio.h> -#include <stdlib.h> -#include <signal.h> /* for our signal() handlers */ -#include <string.h> /* strncpy() */ -#include <errno.h> /* errno and friends */ -#include <unistd.h> -#include <ctype.h> #include <sys/syslog.h> #include <sys/klog.h> @@ -66,7 +59,7 @@ int klogd_main(int argc, char **argv) #ifdef BB_NOMMU vfork_daemon_rexec(0, 1, argc, argv, "-n"); #else - bb_xdaemon(0, 1); + xdaemon(0, 1); #endif } } |