diff options
author | 2010-07-17 19:27:07 +0000 | |
---|---|---|
committer | 2010-07-17 19:27:07 +0000 | |
commit | b86e97fbe2086003bbd828193a604a25fca13abc (patch) | |
tree | 4731c3d2714e2833851b0fe1933382378115b9d0 /lib/libkvm/kvm_file2.c | |
parent | Wrap kernel function declarations in #ifdef _KERNEL to eliminate warnings (diff) | |
download | wireguard-openbsd-b86e97fbe2086003bbd828193a604a25fca13abc.tar.xz wireguard-openbsd-b86e97fbe2086003bbd828193a604a25fca13abc.zip |
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 'lib/libkvm/kvm_file2.c')
-rw-r--r-- | lib/libkvm/kvm_file2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libkvm/kvm_file2.c b/lib/libkvm/kvm_file2.c index 2af3d7702fa..c7dc886f93e 100644 --- a/lib/libkvm/kvm_file2.c +++ b/lib/libkvm/kvm_file2.c @@ -1,4 +1,4 @@ -/* $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> @@ -90,9 +90,7 @@ #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> |