summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.lockd
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-15 16:18:57 +0000
committerbde <bde@FreeBSD.org>1997-04-15 16:18:57 +0000
commit9c6fb5ac3c1271a0bb73d5f42955a5eeb08af3b2 (patch)
tree88d9bd0b083652a6a748f3b55529f4325996716c /usr.sbin/rpc.lockd
parent3b3b1c01ac0dfd9796eb64ba91c7621ff0151682 (diff)
downloadFreeBSD-src-9c6fb5ac3c1271a0bb73d5f42955a5eeb08af3b2.zip
FreeBSD-src-9c6fb5ac3c1271a0bb73d5f42955a5eeb08af3b2.tar.gz
Fixed type mismatch caused by bogus prototypes. rpcgen for some reason
doesn't generate any prototypes for the functions to be registered.
Diffstat (limited to 'usr.sbin/rpc.lockd')
-rw-r--r--usr.sbin/rpc.lockd/lockd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.lockd/lockd.c b/usr.sbin/rpc.lockd/lockd.c
index d68b056..092628a 100644
--- a/usr.sbin/rpc.lockd/lockd.c
+++ b/usr.sbin/rpc.lockd/lockd.c
@@ -38,8 +38,8 @@
#include "lockd.h"
-extern void nlm_prog_1 __P((struct svc_req, register SVCXPRT));
-extern void nlm_prog_3 __P((struct svc_req, register SVCXPRT));
+void nlm_prog_1 __P((struct svc_req *, SVCXPRT *));
+void nlm_prog_3 __P((struct svc_req *, SVCXPRT *));
int debug_level = 0; /* Zero means no debugging syslog() calls */
OpenPOWER on IntegriCloud