mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
DEVEL15-vldb-check-dont-return-int-from-void-20071211
LICENSE IPL10 void functions shouldn't return 0 (cherry picked from commit 2e057314d957a8854ee3c912715a916c3f002863)
This commit is contained in:
parent
c2db2e5c7c
commit
a0abdcd99b
@ -242,7 +242,7 @@ readheader(headerp)
|
||||
if (headerp->vital_header.headersize != sizeof(*headerp))
|
||||
printf("Header reports its size as %d (should be %d)\n",
|
||||
headerp->vital_header.headersize, sizeof(*headerp));
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
|
||||
readMH(addr, mhblockP)
|
||||
@ -267,7 +267,7 @@ readMH(addr, mhblockP)
|
||||
for (j = 0; j < VL_MAXIPADDRS_PERMH; j++)
|
||||
e->ex_addrs[j] = ntohl(e->ex_addrs[j]);
|
||||
}
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
|
||||
readentry(addr, vlentryp, type)
|
||||
@ -348,7 +348,7 @@ readentry(addr, vlentryp, type)
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
@ -565,7 +565,7 @@ FollowNameHash(header)
|
||||
("%d entries in name hash, longest is %d, shortest is %d, average length is %f\n",
|
||||
count, longest, shortest, ((float)count / (float)HASHSIZE));
|
||||
}
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -639,7 +639,7 @@ FollowIdHash(header)
|
||||
((float)count / (float)HASHSIZE));
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -684,7 +684,7 @@ FollowFreeChain(header)
|
||||
}
|
||||
if (verbose)
|
||||
printf("%d entries on free chain\n", count);
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -895,7 +895,7 @@ CheckIpAddrs(header)
|
||||
printf("%d simple entries, %d multihomed entries, Total = %d\n",
|
||||
regentries, mhentries, mhentries + regentries);
|
||||
}
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user