summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpcbind/check_bound.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/check_bound.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/check_bound.c')
-rw-r--r--usr.sbin/rpcbind/check_bound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpcbind/check_bound.c b/usr.sbin/rpcbind/check_bound.c
index c955506..192c9ca 100644
--- a/usr.sbin/rpcbind/check_bound.c
+++ b/usr.sbin/rpcbind/check_bound.c
@@ -109,7 +109,7 @@ check_bound(struct fdlist *fdl, char *uaddr)
}
int
-add_bndlist(struct netconfig *nconf, struct netbuf *baddr)
+add_bndlist(struct netconfig *nconf, struct netbuf *baddr __unused)
{
struct fdlist *fdl;
struct netconfig *newnconf;
OpenPOWER on IntegriCloud