mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Make libevent_logging_callback static.
svn:r4058
This commit is contained in:
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user