aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logger.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/logger.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/logger.c')
-rw-r--r--sysklogd/logger.c17
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