summaryrefslogtreecommitdiff
path: root/sys/msdosfs/denode.h
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-07-17 19:27:08 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-07-17 19:27:08 +0000
commit841649915e7ad589d081ed14451370004f722469 (patch)
tree4431306db6e6cf9dede5777dd9314ed7af635e1d /sys/msdosfs/denode.h
parent9fb3fcf821f4b4419269a60ba91d0dc3f277513f (diff)
Move some macros in <msdosfs/denode.h> to outside the #ifdef _KERNEL
so that libkvm doesn't need to define that, thereby avoiding some warnings. ok miod@
Diffstat (limited to 'sys/msdosfs/denode.h')
-rw-r--r--sys/msdosfs/denode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/msdosfs/denode.h b/sys/msdosfs/denode.h
index 66aaeb91f90..fde57a08ff2 100644
--- a/sys/msdosfs/denode.h
+++ b/sys/msdosfs/denode.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: denode.h,v 1.22 2010/05/16 20:26:39 nicm Exp $ */
+/* $OpenBSD: denode.h,v 1.23 2010/07/17 19:27:07 guenther Exp $ */
/* $NetBSD: denode.h,v 1.24 1997/10/17 11:23:39 ws Exp $ */
/*-
@@ -222,8 +222,6 @@ struct denode {
#define de_forw de_chain[0]
#define de_back de_chain[1]
-#ifdef _KERNEL
-
#define VTODE(vp) ((struct denode *)(vp)->v_data)
#define DETOV(de) ((de)->de_vnode)
@@ -257,6 +255,8 @@ struct defid {
#endif
};
+
+#ifdef _KERNEL
/*
* Prototypes for MSDOSFS vnode operations
*/