diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-02 20:56:16 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-02 20:56:16 +0000 |
commit | e15d7573a1263fb364d1678c3a46be47a8b5e5ea (patch) | |
tree | 09e7b482b38ac571a01e936fb91df16dd1eeef42 /sysklogd/logger.c | |
parent | ecae66ac16338d8cddb55e1782ebd8c5f670ff53 (diff) | |
download | busybox-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/logger.c')
-rw-r--r-- | sysklogd/logger.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 0c6fb0845..ea093ed52 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c | |||
@@ -4,22 +4,10 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
15 | * General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program; if not, write to the Free Software | ||
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | * | ||
21 | */ | 8 | */ |
22 | 9 | ||
10 | #include "busybox.h" | ||
23 | #include <stdio.h> | 11 | #include <stdio.h> |
24 | #include <unistd.h> | 12 | #include <unistd.h> |
25 | #include <sys/types.h> | 13 | #include <sys/types.h> |
@@ -28,7 +16,6 @@ | |||
28 | #include <string.h> | 16 | #include <string.h> |
29 | #include <stdlib.h> | 17 | #include <stdlib.h> |
30 | 18 | ||
31 | #include "busybox.h" | ||
32 | #if !defined CONFIG_SYSLOGD | 19 | #if !defined CONFIG_SYSLOGD |
33 | 20 | ||
34 | #define SYSLOG_NAMES | 21 | #define SYSLOG_NAMES |