summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_bsd.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-13 09:02:06 +0000
committerphk <phk@FreeBSD.org>2003-04-13 09:02:06 +0000
commit03b1ca36baf4bd8325f619d97a48764fc6dced85 (patch)
tree7e373e1543fdcdee14db44b0c4513544d165797c /sys/geom/geom_bsd.c
parent0f2f76bb732fd63d44ad2f323b86acb6c93a7230 (diff)
downloadFreeBSD-src-03b1ca36baf4bd8325f619d97a48764fc6dced85.zip
FreeBSD-src-03b1ca36baf4bd8325f619d97a48764fc6dced85.tar.gz
Time has run from the "run GEOM in userland" harness, and the new regression
test is built to test GEOM as running in the kernel. This commit is basically "unifdef -D_KERNEL" to remove the mainly #include related code to support the userland-harness.
Diffstat (limited to 'sys/geom/geom_bsd.c')
-rw-r--r--sys/geom/geom_bsd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/geom/geom_bsd.c b/sys/geom/geom_bsd.c
index afef301..d50a040 100644
--- a/sys/geom/geom_bsd.c
+++ b/sys/geom/geom_bsd.c
@@ -41,13 +41,6 @@
#include <sys/param.h>
#include <sys/endian.h>
-#ifndef _KERNEL
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <err.h>
-#else
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/conf.h>
@@ -55,7 +48,6 @@
#include <sys/malloc.h>
#include <sys/lock.h>
#include <sys/mutex.h>
-#endif
#include <sys/md5.h>
#include <sys/errno.h>
#include <sys/disklabel.h>
OpenPOWER on IntegriCloud