mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
volser: make private lockproc routines private
FindIndex and SetAValue are only used within lockprocs.c. Make them static and remove them from lockprocs_prototypes.h Change-Id: I09774fdc2368941191e17d9ce1fc13a4ff5bec42 Reviewed-on: http://gerrit.openafs.org/4135 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
4b45348192
commit
4bd0f17e6d
@ -44,7 +44,7 @@
|
||||
* If server is zero, will match first index of ANY server and partition
|
||||
* Zero is a valid partition field.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
FindIndex(struct nvldbentry *entry, afs_uint32 server, afs_int32 part, afs_int32 type)
|
||||
{
|
||||
int e;
|
||||
@ -76,7 +76,7 @@ FindIndex(struct nvldbentry *entry, afs_uint32 server, afs_int32 part, afs_int32
|
||||
}
|
||||
|
||||
/* Changes the rw site only */
|
||||
void
|
||||
static void
|
||||
SetAValue(struct nvldbentry *entry, afs_uint32 oserver, afs_int32 opart,
|
||||
afs_uint32 nserver, afs_int32 npart, afs_int32 type)
|
||||
{
|
||||
|
@ -1,8 +1,5 @@
|
||||
#ifndef _LOCKPROCS_PROTOTYPES_H
|
||||
#define _LOCKPROCS_PROTOTYPES_H
|
||||
extern int FindIndex(struct nvldbentry *entry, afs_uint32 server, afs_int32 part, afs_int32 type);
|
||||
extern void SetAValue(struct nvldbentry *entry, afs_uint32 oserver, afs_int32 opart,
|
||||
afs_uint32 nserver, afs_int32 npart, afs_int32 type);
|
||||
extern void Lp_SetRWValue(struct nvldbentry *entry, afs_uint32 oserver, afs_int32 opart,
|
||||
afs_uint32 nserver, afs_int32 npart);
|
||||
extern void Lp_SetROValue(struct nvldbentry *entry, afs_uint32 oserver,
|
||||
|
Loading…
x
Reference in New Issue
Block a user