Przeglądaj źródła

Make libevent_logging_callback static.

svn:r4058
Nick Mathewson 20 lat temu
rodzic
commit
f3b833cb47
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/common/log.c

+ 2 - 1
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;