summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-07-04 20:35:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-07-04 20:35:36 +0000
commitdcbf20f66fb414a09cad90c98f477ca3881f1bb8 (patch)
tree6be8ce2adac21165dfc48ee4b31256bf24665088 /lib
parent1ab5aa432da05705598d34b699d62a502ea36734 (diff)
move the specfs code to a place people can see it; ok guenther thib krw
Diffstat (limited to 'lib')
-rw-r--r--lib/libkvm/kvm_file2.c5
-rw-r--r--lib/libkvm/kvm_udf.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/libkvm/kvm_file2.c b/lib/libkvm/kvm_file2.c
index c7dc886f93e..e8778dff547 100644
--- a/lib/libkvm/kvm_file2.c
+++ b/lib/libkvm/kvm_file2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_file2.c,v 1.16 2010/07/17 19:27:07 guenther Exp $ */
+/* $OpenBSD: kvm_file2.c,v 1.17 2011/07/04 20:35:35 deraadt Exp $ */
/*
* Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -75,6 +75,7 @@
#include <sys/pipe.h>
#include <sys/stat.h>
#include <sys/sysctl.h>
+#include <sys/specdev.h>
#define _KERNEL
#include <ufs/ufs/quota.h>
@@ -93,8 +94,6 @@
#include <msdosfs/denode.h>
#include <msdosfs/msdosfsmount.h>
-#include <miscfs/specfs/specdev.h>
-
#include <net/route.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
diff --git a/lib/libkvm/kvm_udf.c b/lib/libkvm/kvm_udf.c
index bbc33c0009b..85fcdc4d69b 100644
--- a/lib/libkvm/kvm_udf.c
+++ b/lib/libkvm/kvm_udf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_udf.c,v 1.3 2009/10/27 23:59:28 deraadt Exp $ */
+/* $OpenBSD: kvm_udf.c,v 1.4 2011/07/04 20:35:35 deraadt Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -33,13 +33,12 @@
#undef _KERNEL
#include <sys/vnode.h>
#include <sys/sysctl.h>
+#include <sys/specdev.h>
#include <isofs/udf/ecma167-udf.h>
#include <isofs/udf/udf.h>
#include <isofs/udf/udf_extern.h>
-#include <miscfs/specfs/specdev.h>
-
#include <stdint.h>
#include <limits.h>
#include <kvm.h>