aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/klogd.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-02 20:56:16 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-02 20:56:16 +0000
commite15d7573a1263fb364d1678c3a46be47a8b5e5ea (patch)
tree09e7b482b38ac571a01e936fb91df16dd1eeef42 /sysklogd/klogd.c
parentecae66ac16338d8cddb55e1782ebd8c5f670ff53 (diff)
downloadbusybox-w32-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.tar.gz
busybox-w32-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.tar.bz2
busybox-w32-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.zip
- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early.
Diffstat (limited to 'sysklogd/klogd.c')
-rw-r--r--sysklogd/klogd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c
index 404e2275d..92590d209 100644
--- a/sysklogd/klogd.c
+++ b/sysklogd/klogd.c
@@ -17,6 +17,7 @@
17 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. 17 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
18 */ 18 */
19 19
20#include "busybox.h"
20#include <stdio.h> 21#include <stdio.h>
21#include <stdlib.h> 22#include <stdlib.h>
22#include <signal.h> /* for our signal() handlers */ 23#include <signal.h> /* for our signal() handlers */
@@ -27,8 +28,6 @@
27#include <sys/syslog.h> 28#include <sys/syslog.h>
28#include <sys/klog.h> 29#include <sys/klog.h>
29 30
30#include "busybox.h"
31
32static void klogd_signal(int sig ATTRIBUTE_UNUSED) 31static void klogd_signal(int sig ATTRIBUTE_UNUSED)
33{ 32{
34 klogctl(7, NULL, 0); 33 klogctl(7, NULL, 0);