[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix compilation of test_status.c with MSVC



commit c7ab8587c9167526a313c84c6f5f4375dd36b600
Author: Gisle Vanem <gvanem@xxxxxxxx>
Date:   Mon May 12 00:34:06 2014 -0400

    Fix compilation of test_status.c with MSVC
---
 src/common/torlog.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/torlog.h b/src/common/torlog.h
index 4493b25..f6ddca5 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);



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits