diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-20 22:18:21 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-20 22:18:21 +0000 |
commit | 8d3385f5344604e2e8f31eee7bf565e88778500b (patch) | |
tree | af054294a844611a54aa36bfacfb7377d8074695 /main/logger.c | |
parent | e616a7a4e2434fe360530b21af62ea44c3700318 (diff) |
move internal function declarations to include/asterisk/_private.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89465 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/logger.c')
-rw-r--r-- | main/logger.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/main/logger.c b/main/logger.c index 415019761..c94cf4b44 100644 --- a/main/logger.c +++ b/main/logger.c @@ -25,14 +25,17 @@ * \author Mark Spencer <markster@digium.com> */ -/* Prevent inclusion of logger.h - it redefines LOG_* which we need - * to define syslog_level_map. Later, we force its inclusion again. +/* + * define _ASTERISK_LOGGER_H to prevent the inclusion of logger.h; + * it redefines LOG_* which we need to define syslog_level_map. + * Later, we force the inclusion of logger.h again. */ #define _ASTERISK_LOGGER_H #include "asterisk.h" ASTERISK_FILE_VERSION(__FILE__, "$Revision$") +#include "asterisk/_private.h" #include <signal.h> #include <time.h> #include <sys/stat.h> @@ -511,7 +514,7 @@ static int rotate_file(const char *filename) return res; } -int reload_logger(int rotate) +static int reload_logger(int rotate) { char old[PATH_MAX] = ""; int event_rotate = rotate, queue_rotate = rotate; |