mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
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 <rra@stanford.edu> Verified-by: Russ Allbery <rra@stanford.edu>
This commit is contained in:
parent
4087484fb4
commit
095ad16a31
@ -160,6 +160,7 @@ ubeacon_InitServerListByInfo(afs_int32 ame, struct afsconf_cell *info,
|
|||||||
*
|
*
|
||||||
* \see ubeacon_InitServerListCommon()
|
* \see ubeacon_InitServerListCommon()
|
||||||
*/
|
*/
|
||||||
|
int
|
||||||
ubeacon_InitServerList(afs_int32 ame, register afs_int32 aservers[])
|
ubeacon_InitServerList(afs_int32 ame, register afs_int32 aservers[])
|
||||||
{
|
{
|
||||||
afs_int32 code;
|
afs_int32 code;
|
||||||
@ -195,6 +196,7 @@ ubeacon_InitServerList(afs_int32 ame, register afs_int32 aservers[])
|
|||||||
*
|
*
|
||||||
* \see ubeacon_InitServerList(), ubeacon_InitServerListByInfo()
|
* \see ubeacon_InitServerList(), ubeacon_InitServerListByInfo()
|
||||||
*/
|
*/
|
||||||
|
int
|
||||||
ubeacon_InitServerListCommon(afs_int32 ame, struct afsconf_cell *info,
|
ubeacon_InitServerListCommon(afs_int32 ame, struct afsconf_cell *info,
|
||||||
char clones[], register afs_int32 aservers[])
|
char clones[], register afs_int32 aservers[])
|
||||||
{
|
{
|
||||||
@ -513,7 +515,7 @@ ubeacon_Interact(void *dummy)
|
|||||||
*
|
*
|
||||||
* \return 0 on success, non-zero on failure
|
* \return 0 on success, non-zero on failure
|
||||||
*/
|
*/
|
||||||
static
|
static int
|
||||||
verifyInterfaceAddress(afs_uint32 *ame, struct afsconf_cell *info,
|
verifyInterfaceAddress(afs_uint32 *ame, struct afsconf_cell *info,
|
||||||
afs_uint32 aservers[]) {
|
afs_uint32 aservers[]) {
|
||||||
afs_uint32 myAddr[UBIK_MAX_INTERFACE_ADDR], *servList, tmpAddr;
|
afs_uint32 myAddr[UBIK_MAX_INTERFACE_ADDR], *servList, tmpAddr;
|
||||||
|
Loading…
Reference in New Issue
Block a user