]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
sig is only used if threads are in use. [RT #18196]
authorMark Andrews <marka@isc.org>
Wed, 15 Oct 2008 03:18:33 +0000 (03:18 +0000)
committerMark Andrews <marka@isc.org>
Wed, 15 Oct 2008 03:18:33 +0000 (03:18 +0000)
lib/isc/unix/app.c

index f483b94b58fcfc12fccbf716644eb158b028d793..0b1d9be22c22b75fc130b0e0a39646547fd6a9d0 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: app.c,v 1.43.2.3.8.9 2008/06/25 00:03:29 jinmei Exp $ */
+/* $Id: app.c,v 1.43.2.3.8.10 2008/10/15 03:18:33 marka Exp $ */
 
 #include <config.h>
 
@@ -433,10 +433,10 @@ isc_app_run(void) {
 #ifdef ISC_PLATFORM_USETHREADS
        sigset_t sset;
        char strbuf[ISC_STRERRORSIZE];
-#endif /* ISC_PLATFORM_USETHREADS */
 #ifdef HAVE_SIGWAIT
        int sig;
 #endif
+#endif /* ISC_PLATFORM_USETHREADS */
 
 #ifdef HAVE_LINUXTHREADS
        REQUIRE(main_thread == pthread_self());