diff options
author | markm <markm@FreeBSD.org> | 2001-05-01 08:13:21 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-05-01 08:13:21 +0000 |
commit | bcca5847d5e7a197302d7689cd358f5ce6316d0a (patch) | |
tree | a1f5dea8640fa8bdeebec40477b6fdcf33b3e51b /sys/posix4 | |
parent | 7d3d350edce373e3ec1e8e7fe7d94bb08d031a24 (diff) | |
download | FreeBSD-src-bcca5847d5e7a197302d7689cd358f5ce6316d0a.zip FreeBSD-src-bcca5847d5e7a197302d7689cd358f5ce6316d0a.tar.gz |
Undo part of the tangle of having sys/lock.h and sys/mutex.h included in
other "system" header files.
Also help the deprecation of lockmgr.h by making it a sub-include of
sys/lock.h and removing sys/lockmgr.h form kernel .c files.
Sort sys/*.h includes where possible in affected files.
OK'ed by: bde (with reservations)
Diffstat (limited to 'sys/posix4')
-rw-r--r-- | sys/posix4/ksched.c | 3 | ||||
-rw-r--r-- | sys/posix4/p1003_1b.c | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/sys/posix4/ksched.c b/sys/posix4/ksched.c index dbdc174..c7f746a 100644 --- a/sys/posix4/ksched.c +++ b/sys/posix4/ksched.c @@ -37,8 +37,9 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/proc.h> +#include <sys/lock.h> #include <sys/mutex.h> +#include <sys/proc.h> #include <sys/resource.h> #include <posix4/posix4.h> diff --git a/sys/posix4/p1003_1b.c b/sys/posix4/p1003_1b.c index 0d1fd0e..577456f 100644 --- a/sys/posix4/p1003_1b.c +++ b/sys/posix4/p1003_1b.c @@ -38,12 +38,14 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/sysent.h> +#include <sys/lock.h> +#include <sys/module.h> +#include <sys/mutex.h> #include <sys/proc.h> +#include <sys/sysctl.h> +#include <sys/sysent.h> #include <sys/syslog.h> -#include <sys/module.h> #include <sys/sysproto.h> -#include <sys/sysctl.h> #include <posix4/posix4.h> |