From 506fb66ea7597473f27acd3de4407c36c5705ee3 Mon Sep 17 00:00:00 2001 From: mickey Date: Sun, 30 Mar 1997 20:02:32 +0000 Subject: [PATCH] ifdef out some vars used only w/ NFSCLIENT defined --- sys/nfs/nfs_syscalls.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index 90530d643c4..68f33ff1f40 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_syscalls.c,v 1.7 1996/06/14 04:41:08 tholo Exp $ */ +/* $OpenBSD: nfs_syscalls.c,v 1.8 1997/03/30 20:02:32 mickey Exp $ */ /* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */ /* @@ -104,7 +104,9 @@ static struct nfsdrt nfsdrt; #define TRUE 1 #define FALSE 0 +#ifdef NFSCLIENT static int nfs_asyncdaemon[NFS_MAXASYNCDAEMON]; +#endif #ifdef NFSSERVER static void nfsd_rt __P((int, struct nfsrv_descript *, int)); @@ -172,12 +174,12 @@ sys_nfssvc(p, v, retval) syscallarg(int) flag; syscallarg(caddr_t) argp; } */ *uap = v; +#ifdef NFSCLIENT struct nameidata nd; struct nfsmount *nmp; - int error; -#ifdef NFSCLIENT struct nfsd_cargs ncd; #endif + int error; #ifdef NFSSERVER struct file *fp; struct mbuf *nam; -- 2.20.1