diff options
author | alfred <alfred@FreeBSD.org> | 2002-10-07 02:56:59 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-10-07 02:56:59 +0000 |
commit | dccd7d6c72bdb1f5cb62f2b4626c902d14e5a0f4 (patch) | |
tree | a88dc934c05e89a4a453c612cac5eef1c623657a /usr.sbin/rpcbind/pmap_svc.c | |
parent | c199cbd7cfbb378004d244f95641daeb8e0775cb (diff) | |
download | FreeBSD-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/pmap_svc.c')
-rw-r--r-- | usr.sbin/rpcbind/pmap_svc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rpcbind/pmap_svc.c b/usr.sbin/rpcbind/pmap_svc.c index 9adb558..d74b369 100644 --- a/usr.sbin/rpcbind/pmap_svc.c +++ b/usr.sbin/rpcbind/pmap_svc.c @@ -167,7 +167,7 @@ find_service_pmap(rpcprog_t prog, rpcvers_t vers, rpcprot_t prot) } static bool_t -pmapproc_change(struct svc_req *rqstp, SVCXPRT *xprt, unsigned long op) +pmapproc_change(struct svc_req *rqstp __unused, SVCXPRT *xprt, unsigned long op) { struct pmap reg; RPCB rpcbreg; @@ -261,7 +261,7 @@ done_change: /* ARGSUSED */ static bool_t -pmapproc_getport(struct svc_req *rqstp, SVCXPRT *xprt) +pmapproc_getport(struct svc_req *rqstp __unused, SVCXPRT *xprt) { struct pmap reg; long lport; @@ -342,7 +342,7 @@ sendreply: /* ARGSUSED */ static bool_t -pmapproc_dump(struct svc_req *rqstp, SVCXPRT *xprt) +pmapproc_dump(struct svc_req *rqstp __unused, SVCXPRT *xprt) { if (!svc_getargs(xprt, (xdrproc_t)xdr_void, NULL)) { svcerr_decode(xprt); |