From 095ad16a315bf564139dd9904348f889bee58f73 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Fri, 10 Jul 2009 14:25:40 +0100 Subject: [PATCH] Fix return type defaults to int warnings in ubik Fix "return type defaults to int" warnings in ubik/beacon.c Reviewed-on: http://gerrit.openafs.org/24 Reviewed-by: Russ Allbery Verified-by: Russ Allbery --- src/ubik/beacon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ubik/beacon.c b/src/ubik/beacon.c index 1fa14cb37a..c0c5239f36 100644 --- a/src/ubik/beacon.c +++ b/src/ubik/beacon.c @@ -160,6 +160,7 @@ ubeacon_InitServerListByInfo(afs_int32 ame, struct afsconf_cell *info, * * \see ubeacon_InitServerListCommon() */ +int ubeacon_InitServerList(afs_int32 ame, register afs_int32 aservers[]) { afs_int32 code; @@ -195,6 +196,7 @@ ubeacon_InitServerList(afs_int32 ame, register afs_int32 aservers[]) * * \see ubeacon_InitServerList(), ubeacon_InitServerListByInfo() */ +int ubeacon_InitServerListCommon(afs_int32 ame, struct afsconf_cell *info, char clones[], register afs_int32 aservers[]) { @@ -513,7 +515,7 @@ ubeacon_Interact(void *dummy) * * \return 0 on success, non-zero on failure */ -static +static int verifyInterfaceAddress(afs_uint32 *ame, struct afsconf_cell *info, afs_uint32 aservers[]) { afs_uint32 myAddr[UBIK_MAX_INTERFACE_ADDR], *servList, tmpAddr;