diff --git a/src/viced/host.c b/src/viced/host.c index 87f12b32a9..29c4b21cb5 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -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; diff --git a/src/viced/host.h b/src/viced/host.h index d67f11b8cd..e59c6725c5 100644 --- a/src/viced/host.h +++ b/src/viced/host.h @@ -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 **);