summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-06-01 07:23:26 +0000
committerpeter <peter@FreeBSD.org>1998-06-01 07:23:26 +0000
commit66d2475e6fbb88f6cdde7853461c19935a0f6cae (patch)
tree100bdbeef51b7172a9a5d7f2a031edf15ec96d52 /sys
parentec33d6bd5e04d7a4e47dddef1e980d317ad0dc44 (diff)
downloadFreeBSD-src-66d2475e6fbb88f6cdde7853461c19935a0f6cae.zip
FreeBSD-src-66d2475e6fbb88f6cdde7853461c19935a0f6cae.tar.gz
Hide more kernel stuff from userland. This stops nethostaddr etc being
wanted by mount_nfs.c.
Diffstat (limited to 'sys')
-rw-r--r--sys/nfs/nqnfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nqnfs.h b/sys/nfs/nqnfs.h
index f736fa9..148379e 100644
--- a/sys/nfs/nqnfs.h
+++ b/sys/nfs/nqnfs.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nqnfs.h 8.3 (Berkeley) 3/30/95
- * $Id: nqnfs.h,v 1.15 1998/03/30 09:54:45 phk Exp $
+ * $Id: nqnfs.h,v 1.16 1998/05/31 20:09:00 peter Exp $
*/
@@ -62,6 +62,7 @@
#define NQNFS_VER3 3
#define NQNFS_EVICTSIZ 156 /* Size of eviction request in bytes */
+#if defined(KERNEL) || defined(_KERNEL)
/*
* Definitions used for saving the "last lease expires" time in Non-volatile
* RAM on the server. The default definitions below assume that NOVRAM is not
@@ -198,7 +199,6 @@ extern u_long nqfhhash;
#define NQNFS_EXPIRED 500
#define NQNFS_TRYLATER 501
-#if defined(KERNEL) || defined(_KERNEL)
void nqnfs_lease_check __P((struct vnode *, struct proc *, struct ucred *, int));
void nqnfs_lease_updatetime __P((int));
int nqsrv_getlease __P((struct vnode *, u_int32_t *, int,
OpenPOWER on IntegriCloud