diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-03-30 20:02:33 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-03-30 20:02:33 +0000 |
commit | feebb2528d6c5d708cdc93383afcef2faec2b0a4 (patch) | |
tree | b1b224057038c754828d88ba6265f97c9f03af7f | |
parent | c4ee212586ebc4154e500a1a16e863fb199e2834 (diff) |
ifdef out some vars used only w/ NFSCLIENT defined
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 8 |
1 files 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; |