aboutsummaryrefslogtreecommitdiffstats
path: root/logger.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-07 18:54:56 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-07 18:54:56 +0000
commit73c525e6e2dbcf452c2e78e44a63678f2b2068ea (patch)
treef9408ad7864dc1683b929f25a692213b22442992 /logger.c
parent3cd1c6869dcb5f1d85a602c7b53a33437ceb0d32 (diff)
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'logger.c')
-rw-r--r--logger.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/logger.c b/logger.c
index 3459e46e9..309e13a50 100644
--- a/logger.c
+++ b/logger.c
@@ -25,6 +25,10 @@
* \author Mark Spencer <markster@digium.com>
*/
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
@@ -43,10 +47,6 @@
from <syslog.h> which is included by logger.h */
#include <syslog.h>
-#include "asterisk.h"
-
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
static int syslog_level_map[] = {
LOG_DEBUG,
LOG_INFO, /* arbitrary equivalent of LOG_EVENT */