From: Sebastian Hahn Date: Thu, 5 May 2011 00:21:09 +0000 (+0200) Subject: Fix compile warning on windows X-Git-Tag: tor-0.2.3.1-alpha~5^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a490bb53b98efa4cec721a80fe5fec94c554c1f;p=thirdparty%2Ftor.git Fix compile warning on windows --- diff --git a/src/or/main.c b/src/or/main.c index 462b51e783..7bae59ce06 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1587,6 +1587,7 @@ do_main_loop(void) } } +#ifndef MS_WINDOWS /* Only called when we're willing to use signals */ /** Libevent callback: invoked when we get a signal. */ static void @@ -1598,6 +1599,7 @@ signal_callback(int fd, short events, void *arg) process_signal(sig); } +#endif /** Do the work of acting on a signal received in sig */ void