diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
| commit | a16f65c7d117419bd266c28a1901ef129a337569 (patch) | |
| tree | 2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /sbin/mountd/mountd.c | |
| parent | 8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff) | |
Diffstat (limited to 'sbin/mountd/mountd.c')
| -rw-r--r-- | sbin/mountd/mountd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/mountd/mountd.c b/sbin/mountd/mountd.c index cce57d01a9fb..e2e5a26a2100 100644 --- a/sbin/mountd/mountd.c +++ b/sbin/mountd/mountd.c @@ -101,7 +101,8 @@ struct grouplist { }; /* Global defs */ -int mntsrv(), umntall_each(), xdr_fhs(), xdr_mlist(), xdr_dir(), xdr_explist(); +void mntsrv(); +int umntall_each(), xdr_fhs(), xdr_mlist(), xdr_dir(), xdr_explist(); void add_mlist(), del_mlist(), get_exportlist(), get_mountlist(); void send_umntall(); struct exportlist exphead; @@ -183,7 +184,7 @@ main(argc, argv) /* * The mount rpc service */ -mntsrv(rqstp, transp) +void mntsrv(rqstp, transp) register struct svc_req *rqstp; register SVCXPRT *transp; { @@ -347,7 +348,7 @@ xdr_fhs(xdrsp, nfh) XDR *xdrsp; nfsv2fh_t *nfh; { - int ok = 0; + long ok = 0; if (!xdr_long(xdrsp, &ok)) return (0); |
