aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/klogd.c
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-02 20:56:16 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-02 20:56:16 +0000
commit96d9a06694110826a348a616abc536765a86d4fd (patch)
tree09e7b482b38ac571a01e936fb91df16dd1eeef42 /sysklogd/klogd.c
parentee7674aa004d1bf4b89c321d99549ab59de606ab (diff)
downloadbusybox-w32-96d9a06694110826a348a616abc536765a86d4fd.tar.gz
busybox-w32-96d9a06694110826a348a616abc536765a86d4fd.tar.bz2
busybox-w32-96d9a06694110826a348a616abc536765a86d4fd.zip
- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early. git-svn-id: svn://busybox.net/trunk/busybox@15267 69ca8d6d-28ef-0310-b511-8ec308f3f277
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);