mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 21:47:45 +00:00
viced: Make private host stuff static
The function initInterfaceAddr_r is internal to the host.c file, so make it static to make this clear. Change-Id: I4dd2de5a7071e68f103bb56347551a3e535d2fd9 Reviewed-on: http://gerrit.openafs.org/7587 Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com> Reviewed-by: Derrick Brashear <shadow@dementix.org> Tested-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
3b45a13a74
commit
eed293b295
@ -83,6 +83,7 @@ struct enumclient_args {
|
||||
|
||||
static void h_SetupCallbackConn_r(struct host * host);
|
||||
static int h_threadquota(int);
|
||||
static int initInterfaceAddr_r(struct host *, struct interfaceAddr *);
|
||||
|
||||
#define CESPERBLOCK 73
|
||||
struct CEBlock { /* block of CESPERBLOCK file entries */
|
||||
@ -4006,7 +4007,7 @@ h_CheckHosts(void)
|
||||
*
|
||||
* The addresses in the interfaceAddr list are in host byte order.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
initInterfaceAddr_r(struct host *host, struct interfaceAddr *interf)
|
||||
{
|
||||
int i, j;
|
||||
|
@ -227,12 +227,10 @@ extern int h_NBLock_r(struct host *host);
|
||||
extern void h_DumpHosts(void);
|
||||
extern void h_InitHostPackage(void);
|
||||
extern void h_CheckHosts(void );
|
||||
extern int initInterfaceAddr_r(struct host *host, struct interfaceAddr *interf);
|
||||
extern void h_AddHostToAddrHashTable_r(afs_uint32 addr, afs_uint16 port, struct host * host);
|
||||
extern void h_AddHostToUuidHashTable_r(afsUUID * uuid, struct host * host);
|
||||
extern int h_DeleteHostFromAddrHashTable_r(afs_uint32 addr, afs_uint16 port, struct host *host);
|
||||
extern int h_DeleteHostFromUuidHashTable_r(struct host *host);
|
||||
extern int initInterfaceAddr_r(struct host *host, struct interfaceAddr *interf);
|
||||
extern int addInterfaceAddr_r(struct host *host, afs_uint32 addr, afs_uint16 port);
|
||||
extern int removeInterfaceAddr_r(struct host *host, afs_uint32 addr, afs_uint16 port);
|
||||
extern afs_int32 hpr_Initialize(struct ubik_client **);
|
||||
|
Loading…
x
Reference in New Issue
Block a user