From: Gisle Vanem Date: Mon, 12 May 2014 04:34:06 +0000 (-0400) Subject: Fix compilation of test_status.c with MSVC X-Git-Tag: tor-0.2.5.5-alpha~69 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7ab8587c9167526a313c84c6f5f4375dd36b600;p=thirdparty%2Ftor.git Fix compilation of test_status.c with MSVC --- diff --git a/src/common/torlog.h b/src/common/torlog.h index 4493b251d2..f6ddca5d46 100644 --- a/src/common/torlog.h +++ b/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);