aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2004-02-07 03:20:07 +0000
committerScott Long <scottl@FreeBSD.org>2004-02-07 03:20:07 +0000
commit9768efef889009b23ec19e21423b6615ca5635d6 (patch)
tree5fd03d84cfa13aa3e08909f6a13250e503da2616
parentd97ec53412192ecad43c41b9c72a551c65e826de (diff)
downloadsrc-9768efef889009b23ec19e21423b6615ca5635d6.tar.gz
src-9768efef889009b23ec19e21423b6615ca5635d6.zip
Add an #ifdef _KERNEL so that this file can be used from userland.
Notes
Notes: svn path=/head/; revision=125541
-rw-r--r--sys/dev/aac/aac_ioctl.h3
-rw-r--r--sys/sys/aac_ioctl.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/aac/aac_ioctl.h b/sys/dev/aac/aac_ioctl.h
index 1b798ebd8238..9dac2ab9c3f0 100644
--- a/sys/dev/aac/aac_ioctl.h
+++ b/sys/dev/aac/aac_ioctl.h
@@ -142,7 +142,7 @@ union aac_statrequest {
#define FSACTL_PROBE_CONTAINERS _IO('9', 83) /* Just guessing */
-
+#ifdef _KERNEL
/*
* Support for faking the "miniport" version.
*/
@@ -177,3 +177,4 @@ struct aac_query_disk {
char diskDeviceName[10];
u_int32_t UnMapped;
};
+#endif
diff --git a/sys/sys/aac_ioctl.h b/sys/sys/aac_ioctl.h
index 1b798ebd8238..9dac2ab9c3f0 100644
--- a/sys/sys/aac_ioctl.h
+++ b/sys/sys/aac_ioctl.h
@@ -142,7 +142,7 @@ union aac_statrequest {
#define FSACTL_PROBE_CONTAINERS _IO('9', 83) /* Just guessing */
-
+#ifdef _KERNEL
/*
* Support for faking the "miniport" version.
*/
@@ -177,3 +177,4 @@ struct aac_query_disk {
char diskDeviceName[10];
u_int32_t UnMapped;
};
+#endif