summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpcbind/rpcb_stat.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-10-07 02:56:59 +0000
committeralfred <alfred@FreeBSD.org>2002-10-07 02:56:59 +0000
commitdccd7d6c72bdb1f5cb62f2b4626c902d14e5a0f4 (patch)
treea88dc934c05e89a4a453c612cac5eef1c623657a /usr.sbin/rpcbind/rpcb_stat.c
parentc199cbd7cfbb378004d244f95641daeb8e0775cb (diff)
downloadFreeBSD-src-dccd7d6c72bdb1f5cb62f2b4626c902d14e5a0f4.zip
FreeBSD-src-dccd7d6c72bdb1f5cb62f2b4626c902d14e5a0f4.tar.gz
WARNS=3 safety (mostly), use __unused for unused params and unsigned where
needed to avoid warnings about comparing signed and unsigned values.
Diffstat (limited to 'usr.sbin/rpcbind/rpcb_stat.c')
-rw-r--r--usr.sbin/rpcbind/rpcb_stat.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/rpcbind/rpcb_stat.c b/usr.sbin/rpcbind/rpcb_stat.c
index 0cf219e..e2cf89e 100644
--- a/usr.sbin/rpcbind/rpcb_stat.c
+++ b/usr.sbin/rpcbind/rpcb_stat.c
@@ -198,11 +198,9 @@ rpcbs_rmtcall(rpcvers_t rtype, rpcproc_t rpcbproc, rpcprog_t prog,
return;
}
-/*
- */
void *
-rpcbproc_getstat(void *arg, struct svc_req *req, SVCXPRT *xprt,
- rpcvers_t versnum)
+rpcbproc_getstat(void *arg __unused, struct svc_req *req __unused,
+ SVCXPRT *xprt __unused, rpcvers_t versnum __unused)
{
return (void *)&inf;
}
OpenPOWER on IntegriCloud