summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nfsd
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-29 22:53:27 +0000
committered <ed@FreeBSD.org>2009-12-29 22:53:27 +0000
commitb9ca89bfc495774b5fe49e23a272c721c840f68b (patch)
tree2e35e76a520e919173f604f9ba0f30358443ed4a /usr.sbin/nfsd
parent86ca9a5a9bdaa4a662de58157f311ce58029b75a (diff)
downloadFreeBSD-src-b9ca89bfc495774b5fe49e23a272c721c840f68b.zip
FreeBSD-src-b9ca89bfc495774b5fe49e23a272c721c840f68b.tar.gz
ANSIfy almost all applications that use WARNS=6.
I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application.
Diffstat (limited to 'usr.sbin/nfsd')
-rw-r--r--usr.sbin/nfsd/nfsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/nfsd/nfsd.c b/usr.sbin/nfsd/nfsd.c
index a822eb3..d86309f 100644
--- a/usr.sbin/nfsd/nfsd.c
+++ b/usr.sbin/nfsd/nfsd.c
@@ -842,7 +842,7 @@ setbindhost(struct addrinfo **ai, const char *bindhost, struct addrinfo hints)
}
void
-usage()
+usage(void)
{
(void)fprintf(stderr, "usage: nfsd %s\n", USAGE);
exit(1);
@@ -868,7 +868,7 @@ reapchild(__unused int signo)
}
void
-unregistration()
+unregistration(void)
{
if ((!rpcb_unset(NFS_PROGRAM, 2, NULL)) ||
(!rpcb_unset(NFS_PROGRAM, 3, NULL)))
@@ -876,7 +876,7 @@ unregistration()
}
void
-killchildren()
+killchildren(void)
{
int i;
OpenPOWER on IntegriCloud