SOLARIS: Fix afs_orig_setgroups* return types

The afs_orig_setgroups* function pointers are used for
storing/resetting the function pointers in sysent[].sy_callc. On at
least Solaris 11, these return an int64_t, so change the
afs_orig_setgroups* declarations to reflect that.

Change-Id: Ie86ee999084a8c08c564427e3308b1d592ef68f5
Reviewed-on: https://gerrit.openafs.org/12707
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Marcio Brito Barbosa <marciobritobarbosa@yahoo.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
This commit is contained in:
Andrew Deason 2017-08-09 20:06:44 -05:00
parent 938f18acca
commit d8556405c3

View File

@ -350,7 +350,11 @@ int (*ufs_igetp) ();
void (*ufs_itimes_nolockp) ();
int (*afs_orig_ioctl) (), (*afs_orig_ioctl32) ();
#if AFS_SUN511_ENV
int64_t (*afs_orig_setgroups) (), (*afs_orig_setgroups32) ();
#else
int (*afs_orig_setgroups) (), (*afs_orig_setgroups32) ();
#endif
#ifndef AFS_SUN510_ENV
struct ill_s *ill_g_headp = 0;