mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 07:51:00 +00:00
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:
parent
c2be1ee1d7
commit
4129b055a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user