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:
Jeffrey Altman 2011-03-05 09:21:15 -05:00 committed by Derrick Brashear
parent 4b45348192
commit 4bd0f17e6d
2 changed files with 2 additions and 5 deletions

View File

@ -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)
{

View File

@ -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,