diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-04-22 13:11:34 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-04-22 13:11:34 +0000 |
commit | 199add9567cb7ca9abf055e2e4c5761f3bdf95bd (patch) | |
tree | 3bd282f1746371aca6b96c133d25f5e6f5e9df36 /logger.c | |
parent | e1dec7cda6a9c5c3798caa7741bd1829fac6faf8 (diff) |
phase 1 of header include cleanup (bug #4067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'logger.c')
-rwxr-xr-x | logger.c | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -16,6 +16,15 @@ #include <stdio.h> #include <unistd.h> #include <time.h> +#include <string.h> +#include <stdlib.h> +#include <errno.h> +#include <sys/stat.h> + +#define SYSLOG_NAMES /* so we can map syslog facilities names to their numeric values, + from <syslog.h> which is included by logger.h */ +#include <syslog.h> + #include "asterisk/lock.h" #include "asterisk/options.h" #include "asterisk/channel.h" @@ -24,16 +33,9 @@ #include "asterisk/cli.h" #include "asterisk/utils.h" #include "asterisk/manager.h" -#include <string.h> -#include <stdlib.h> -#include <errno.h> -#include <sys/stat.h> #include "asterisk.h" #include "astconf.h" -#define SYSLOG_NAMES /* so we can map syslog facilities names to their numeric values, - from <syslog.h> which is included by logger.h */ -#include <syslog.h> static int syslog_level_map[] = { LOG_DEBUG, LOG_INFO, /* arbitrary equivalent of LOG_EVENT */ |