Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev only define struct vnd_softc if _KERNEL is defined
details: https://anonhg.NetBSD.org/src/rev/03467a8b14e2
branches: trunk
changeset: 483898:03467a8b14e2
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Mon Mar 20 13:17:47 2000 +0000
description:
only define struct vnd_softc if _KERNEL is defined
diffstat:
sys/dev/vndvar.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 914c61ec9823 -r 03467a8b14e2 sys/dev/vndvar.h
--- a/sys/dev/vndvar.h Mon Mar 20 12:45:41 2000 +0000
+++ b/sys/dev/vndvar.h Mon Mar 20 13:17:47 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vndvar.h,v 1.5 2000/01/21 23:39:57 thorpej Exp $ */
+/* $NetBSD: vndvar.h,v 1.6 2000/03/20 13:17:47 jdolecek Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -103,6 +103,8 @@
/* vnd_flags */
#define VNDIOF_HASGEOM 0x01 /* use specified geometry */
+#ifdef _KERNEL
+
struct vnode;
struct ucred;
@@ -124,6 +126,7 @@
struct pool sc_vxpool; /* vndxfer pool */
struct pool sc_vbpool; /* vndbuf pool */
};
+#endif
/* sc_flags */
#define VNF_INITED 0x01 /* unit has been initialized */
Home |
Main Index |
Thread Index |
Old Index