diff options
author | dfr <dfr@FreeBSD.org> | 1999-02-18 09:19:41 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-02-18 09:19:41 +0000 |
commit | 0f4e134c5fcb01df6f34344b415b2fbcbcfe454b (patch) | |
tree | 207f93eb79b81138b8bbec9b892813195ed3e13e /sys/nfsclient | |
parent | 70f02223c65e1366dd77fc898de37dc5dc7c2ad5 (diff) | |
download | FreeBSD-src-0f4e134c5fcb01df6f34344b415b2fbcbcfe454b.zip FreeBSD-src-0f4e134c5fcb01df6f34344b415b2fbcbcfe454b.tar.gz |
Move the declaration of the vfs.nfs sysctl node outside an ifdef so that
it builds if NFS_NOSERVER is defined.
Spotted by: Bruce Evans <bde@zeta.org.au>
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_nfsiod.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsclient/nfs_nfsiod.c b/sys/nfsclient/nfs_nfsiod.c index c8da2db..c7c2a48 100644 --- a/sys/nfsclient/nfs_nfsiod.c +++ b/sys/nfsclient/nfs_nfsiod.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_syscalls.c 8.5 (Berkeley) 3/30/95 - * $Id: nfs_syscalls.c,v 1.45 1999/01/27 22:42:27 dillon Exp $ + * $Id: nfs_syscalls.c,v 1.46 1999/02/16 10:49:53 dfr Exp $ */ #include <sys/param.h> @@ -97,6 +97,8 @@ static int nfssvc_iod __P((struct proc *)); static int nfs_asyncdaemon[NFS_MAXASYNCDAEMON]; +SYSCTL_DECL(_vfs_nfs); + #ifndef NFS_NOSERVER int nfsd_waiting = 0; static struct nfsdrt nfsdrt; @@ -109,8 +111,6 @@ static int nfssvc_addsock __P((struct file *, struct sockaddr *, struct proc *)); static int nfssvc_nfsd __P((struct nfsd_srvargs *,caddr_t,struct proc *)); -SYSCTL_DECL(_vfs_nfs); - static int nfs_privport = 0; SYSCTL_INT(_vfs_nfs, NFS_NFSPRIVPORT, nfs_privport, CTLFLAG_RW, &nfs_privport, 0, ""); SYSCTL_INT(_vfs_nfs, OID_AUTO, gatherdelay, CTLFLAG_RW, &nfsrvw_procrastinate, 0, ""); |