From 915b97d300c76c35b3fe480bd9a497f435297191 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Tue, 20 Nov 2007 22:18:21 +0000 Subject: move internal function declarations to include/asterisk/_private.h git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89465 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/logger.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'main/logger.c') 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 */ -/* 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 #include #include @@ -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; -- cgit v1.2.3