Explorar el Código

Fix compilation of test_status.c with MSVC

Gisle Vanem hace 10 años
padre
commit
c7ab8587c9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/common/torlog.h

+ 1 - 1
src/common/torlog.h

@@ -156,9 +156,9 @@ void tor_log_err_sigsafe(const char *m, ...);
 int tor_log_get_sigsafe_err_fds(const int **out);
 void tor_log_update_sigsafe_err_fds(void);
 
-#if defined(__GNUC__) || defined(RUNNING_DOXYGEN)
 extern int log_global_min_severity_;
 
+#if defined(__GNUC__) || defined(RUNNING_DOXYGEN)
 void log_fn_(int severity, log_domain_mask_t domain,
              const char *funcname, const char *format, ...)
   CHECK_PRINTF(4,5);