summaryrefslogtreecommitdiffstats
path: root/sys/dev/iir
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2009-12-02 20:24:37 +0000
committermarcel <marcel@FreeBSD.org>2009-12-02 20:24:37 +0000
commitd280808e3fc0f9498b213fb1a14e24bc93fc9940 (patch)
treee8affb638c034968000475c27556c1b9a4f31580 /sys/dev/iir
parent3173e1cb392c60d4c4bfb5b49fc964a76f67dcf3 (diff)
downloadFreeBSD-src-d280808e3fc0f9498b213fb1a14e24bc93fc9940.zip
FreeBSD-src-d280808e3fc0f9498b213fb1a14e24bc93fc9940.tar.gz
Include <sys/sysctl.h>, to get the declarations of ostype and
osrelease. Remove the duplicate declarations from this file.
Diffstat (limited to 'sys/dev/iir')
-rw-r--r--sys/dev/iir/iir_ctrl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/iir/iir_ctrl.c b/sys/dev/iir/iir_ctrl.c
index 51ef043..5f9f3d5 100644
--- a/sys/dev/iir/iir_ctrl.c
+++ b/sys/dev/iir/iir_ctrl.c
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
#include <sys/disk.h>
#include <sys/stat.h>
#include <sys/disklabel.h>
+#include <sys/sysctl.h>
#include <machine/bus.h>
#include <dev/iir/iir.h>
@@ -83,8 +84,6 @@ static int iir_devsw_installed = 0;
static int sdev_made = 0;
#endif
extern int gdt_cnt;
-extern char ostype[];
-extern char osrelease[];
extern gdt_statist_t gdt_stat;
/*
OpenPOWER on IntegriCloud