summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/log.c b/src/common/log.c
index ce33810a63..609bf76bf7 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -496,7 +496,8 @@ void switch_logs_debug(void)
#ifdef HAVE_EVENT_SET_LOG_CALLBACK
static const char *suppress_msg = NULL;
-void libevent_logging_callback(int severity, const char *msg)
+static void
+libevent_logging_callback(int severity, const char *msg)
{
if (suppress_msg && strstr(msg, suppress_msg))
return;