so that libkvm doesn't need to define that, thereby avoiding some warnings.
ok miod@
-/* $OpenBSD: kvm_file2.c,v 1.15 2010/06/29 16:39:23 guenther Exp $ */
+/* $OpenBSD: kvm_file2.c,v 1.16 2010/07/17 19:27:07 guenther Exp $ */
/*
* Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
#include <nnpfs/nnpfs_node.h>
#include <msdosfs/bpb.h>
-#define _KERNEL
#include <msdosfs/denode.h>
-#undef _KERNEL
#include <msdosfs/msdosfsmount.h>
#include <miscfs/specfs/specdev.h>
-/* $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 $ */
/*-
#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)
#endif
};
+
+#ifdef _KERNEL
/*
* Prototypes for MSDOSFS vnode operations
*/