2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 22:45:39 +00:00

sig is only used if threads are in use. [RT #18196]

This commit is contained in:
Mark Andrews
2008-10-15 03:21:22 +00:00
parent 7318a964ec
commit b018450b0e

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: app.c,v 1.58 2008/06/23 19:41:19 jinmei Exp $ */ /* $Id: app.c,v 1.59 2008/10/15 03:21:22 marka Exp $ */
/*! \file */ /*! \file */
@@ -435,10 +435,10 @@ isc_app_run(void) {
#ifdef ISC_PLATFORM_USETHREADS #ifdef ISC_PLATFORM_USETHREADS
sigset_t sset; sigset_t sset;
char strbuf[ISC_STRERRORSIZE]; char strbuf[ISC_STRERRORSIZE];
#endif /* ISC_PLATFORM_USETHREADS */
#ifdef HAVE_SIGWAIT #ifdef HAVE_SIGWAIT
int sig; int sig;
#endif #endif
#endif /* ISC_PLATFORM_USETHREADS */
#ifdef HAVE_LINUXTHREADS #ifdef HAVE_LINUXTHREADS
REQUIRE(main_thread == pthread_self()); REQUIRE(main_thread == pthread_self());