From: Simon Wilkinson Date: Sat, 16 Jan 2010 02:15:36 +0000 (+0000) Subject: Linux: Add missing prototype X-Git-Tag: openafs-devel-1_5_69~11 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=3c57a1a85a2b3299b7b38557c95ff79a77dc3252 Linux: Add missing prototype 6e65ffbb6c520bf1c28356206410363d8eb36d78 added osi_get_group_pag. On most platforms this is static, but on Linux it's provided by the OSI layer. Add a prototype so the compiler doesn't go boom. Change-Id: I106fa5d5299f8ed486e70cea2ea8681b43a81a33 Reviewed-on: http://gerrit.openafs.org/1110 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/afs_prototypes.h b/src/afs/afs_prototypes.h index 725ff06..e97cd7b 100644 --- a/src/afs/afs_prototypes.h +++ b/src/afs/afs_prototypes.h @@ -701,6 +701,11 @@ extern int setpag(afs_proc_t *proc, struct ucred **cred, afs_uint32 pagvalue, # endif #endif +#if defined(AFS_LINUX26_ENV) +extern afs_int32 osi_get_group_pag(afs_ucred_t *cred); +#endif + + /* ARCH/osi_vm.c */ extern int osi_VM_FlushVCache(struct vcache *avc, int *slept);