summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpcbind/rpcbind.h
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/rpcbind.h
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/rpcbind.h')
-rw-r--r--usr.sbin/rpcbind/rpcbind.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpcbind/rpcbind.h b/usr.sbin/rpcbind/rpcbind.h
index 63cf2d4..2d52be3 100644
--- a/usr.sbin/rpcbind/rpcbind.h
+++ b/usr.sbin/rpcbind/rpcbind.h
@@ -102,7 +102,7 @@ void *rpcbproc_set_com __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
void *rpcbproc_unset_com __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
bool_t map_set __P((RPCB *, char *));
bool_t map_unset __P((RPCB *, char *));
-void delete_prog __P((int));
+void delete_prog __P((unsigned int));
void *rpcbproc_getaddr_com __P((RPCB *, struct svc_req *, SVCXPRT *, rpcvers_t,
rpcvers_t));
void *rpcbproc_gettime_com __P((void *, struct svc_req *, SVCXPRT *,
@@ -120,7 +120,7 @@ void rpcbind_abort __P((void));
void reap __P((int));
void toggle_verboselog __P((int));
-int check_access __P((SVCXPRT *, rpcproc_t, void *, int));
+int check_access __P((SVCXPRT *, rpcproc_t, void *, unsigned int));
int check_callit __P((SVCXPRT *, struct r_rmtcall_args *, int));
void logit __P((int, struct sockaddr *, rpcproc_t, rpcprog_t, const char *));
int is_loopback __P((struct netbuf *));
OpenPOWER on IntegriCloud