s390x: only declare afs_sys_setgroups32_page where needed

Variable afs_sys_setgroups32_page is only used when __NR_setgroups32
is not defined.  Make the declaration depend on it as well to clear
up an unused variable warning.

Change-Id: I812b98d6ac4bf6ac923553ef3556c90d75d86fcb
Reviewed-on: http://gerrit.openafs.org/2600
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Marc Dionne 2010-08-20 16:11:59 -04:00 committed by Derrick Brashear
parent c2be1ee1d7
commit 4129b055a6

View File

@ -82,7 +82,9 @@ static SYSCALLTYPE afs_ni_syscall = 0;
#ifdef AFS_S390X_LINUX24_ENV
static void *afs_sys_setgroups_page = 0;
#if defined(__NR_setgroups32)
static void *afs_sys_setgroups32_page = 0;
#endif
static void *afs_syscall_page = 0;
/* Because of how the syscall table is handled, we need to ensure our