Make libevent_logging_callback static.

svn:r4058
This commit is contained in:
Nick Mathewson
2005-04-08 03:47:18 +00:00
parent 74dc7eedc5
commit f3b833cb47
+2 -1
View File
@@ -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;