From: Chaskiel Grundman Date: Thu, 15 Aug 2013 03:36:42 +0000 (-0400) Subject: Declare sigwait parameter if it will be used X-Git-Tag: upstream/1.6.6_pre2^2~67 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2879ab9b26fd67bfa802b54bc4ac316a9448f1d1;p=packages%2Fo%2Fopenafs.git Declare sigwait parameter if it will be used Make sure the 'sigw' parameter for sigwait is declared if it's going to be used (it was missing for netbsd) Derived from 18b932f (http://gerrit.openafs.org/2767) Change-Id: I53f79ef5eb9ff132e99b78ca87f125e832d2e5f0 Reviewed-on: http://gerrit.openafs.org/10138 Reviewed-by: Andrew Deason Tested-by: BuildBot Reviewed-by: Stephan Wiesand --- diff --git a/src/util/softsig.c b/src/util/softsig.c index dd3db45c4..6fe861ea1 100644 --- a/src/util/softsig.c +++ b/src/util/softsig.c @@ -72,7 +72,7 @@ softsig_thread(void *arg) while (1) { void (*h) (int); -#if !defined(AFS_DARWIN_ENV) && !defined(AFS_NBSD_ENV) +#if !defined(AFS_DARWIN_ENV) && (!defined(AFS_NBSD_ENV) || defined(AFS_NBSD50_ENV)) int sigw; #endif