summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-11-15 22:55:06 +0000
committeralfred <alfred@FreeBSD.org>2002-11-15 22:55:06 +0000
commit19142b69cdfa3a0bf5c2f50d91da354c01d24f51 (patch)
tree352b63f9df747baea0095b73d880cb53f902354c
parent60e892bf319d72d9b1ee2c14488fa30da0195da3 (diff)
downloadFreeBSD-src-19142b69cdfa3a0bf5c2f50d91da354c01d24f51.zip
FreeBSD-src-19142b69cdfa3a0bf5c2f50d91da354c01d24f51.tar.gz
headers should not really include "opt_foo.h" (in this case opt_posix.h).
remove it from the header and add it to the files that require it.
-rw-r--r--sys/kern/ksched.c2
-rw-r--r--sys/kern/p1003_1b.c2
-rw-r--r--sys/posix4/ksched.c2
-rw-r--r--sys/posix4/p1003_1b.c2
-rw-r--r--sys/posix4/posix4.h2
-rw-r--r--sys/sys/posix4.h2
6 files changed, 8 insertions, 4 deletions
diff --git a/sys/kern/ksched.c b/sys/kern/ksched.c
index 690c2fa..ba53cc2 100644
--- a/sys/kern/ksched.c
+++ b/sys/kern/ksched.c
@@ -35,6 +35,8 @@
/* ksched: Soft real time scheduling based on "rtprio".
*/
+#include "opt_posix.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/lock.h>
diff --git a/sys/kern/p1003_1b.c b/sys/kern/p1003_1b.c
index 9e6fdca..7d312d7 100644
--- a/sys/kern/p1003_1b.c
+++ b/sys/kern/p1003_1b.c
@@ -35,6 +35,8 @@
/* p1003_1b: Real Time common code.
*/
+#include "opt_posix.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
diff --git a/sys/posix4/ksched.c b/sys/posix4/ksched.c
index 690c2fa..ba53cc2 100644
--- a/sys/posix4/ksched.c
+++ b/sys/posix4/ksched.c
@@ -35,6 +35,8 @@
/* ksched: Soft real time scheduling based on "rtprio".
*/
+#include "opt_posix.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/lock.h>
diff --git a/sys/posix4/p1003_1b.c b/sys/posix4/p1003_1b.c
index 9e6fdca..7d312d7 100644
--- a/sys/posix4/p1003_1b.c
+++ b/sys/posix4/p1003_1b.c
@@ -35,6 +35,8 @@
/* p1003_1b: Real Time common code.
*/
+#include "opt_posix.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
diff --git a/sys/posix4/posix4.h b/sys/posix4/posix4.h
index 9efd1d9..e597370 100644
--- a/sys/posix4/posix4.h
+++ b/sys/posix4/posix4.h
@@ -34,8 +34,6 @@
* $FreeBSD$
*/
-#include "opt_posix.h"
-
#include <sys/param.h>
#include <sys/ioccom.h>
#include <sys/malloc.h>
diff --git a/sys/sys/posix4.h b/sys/sys/posix4.h
index 9efd1d9..e597370 100644
--- a/sys/sys/posix4.h
+++ b/sys/sys/posix4.h
@@ -34,8 +34,6 @@
* $FreeBSD$
*/
-#include "opt_posix.h"
-
#include <sys/param.h>
#include <sys/ioccom.h>
#include <sys/malloc.h>
OpenPOWER on IntegriCloud