aboutsummaryrefslogtreecommitdiff
path: root/sys/cddl
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>2007-11-28 21:48:25 +0000
committerJohn Birrell <jb@FreeBSD.org>2007-11-28 21:48:25 +0000
commit35ba7f225fd384143cd5304436f45d70649fc3e2 (patch)
treea2fcb5b1e47e27ad49f4fa8c7dd09c6a5e5671a2 /sys/cddl
parent4a67e051a9d01a75d84ef9c9dd85ba6fca1928eb (diff)
downloadsrc-35ba7f225fd384143cd5304436f45d70649fc3e2.tar.gz
src-35ba7f225fd384143cd5304436f45d70649fc3e2.zip
Remove a typedef which was just a hack to avoid including vmem.h.
That typedef breaks other Solaris code.
Notes
Notes: svn path=/head/; revision=174039
Diffstat (limited to 'sys/cddl')
-rw-r--r--sys/cddl/compat/opensolaris/sys/kmem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/cddl/compat/opensolaris/sys/kmem.h b/sys/cddl/compat/opensolaris/sys/kmem.h
index 89dfac9bf634..b4a2e58cb3c0 100644
--- a/sys/cddl/compat/opensolaris/sys/kmem.h
+++ b/sys/cddl/compat/opensolaris/sys/kmem.h
@@ -32,6 +32,7 @@
#include <sys/param.h>
#include <sys/proc.h>
#include <sys/malloc.h>
+#include <sys/vmem.h>
#include <vm/uma.h>
#include <vm/vm.h>
@@ -41,8 +42,6 @@
#define KM_NOSLEEP M_NOWAIT
#define KMC_NODEBUG 0
-typedef void vmem_t;
-
typedef struct kmem_cache {
char kc_name[32];
#ifdef _KERNEL