diff options
author | phk <phk@FreeBSD.org> | 2003-03-18 08:45:25 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-18 08:45:25 +0000 |
commit | e059b79437b2e02b4b4fdc0788b40a5da22e1f9b (patch) | |
tree | edaddd833b7da7fad5ccce7a97a7d3c7c70d9786 /sys/kern | |
parent | 6c826bc36853c5dead86a073669bbde4d939e945 (diff) | |
download | FreeBSD-src-e059b79437b2e02b4b4fdc0788b40a5da22e1f9b.zip FreeBSD-src-e059b79437b2e02b4b4fdc0788b40a5da22e1f9b.tar.gz |
Including <sys/stdint.h> is (almost?) universally only to be able to use
%j in printfs, so put a newsted include in <sys/systm.h> where the printf
prototype lives and save everybody else the trouble.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_lockf.c | 1 | ||||
-rw-r--r-- | sys/kern/kern_mutex.c | 1 | ||||
-rw-r--r-- | sys/kern/kern_tc.c | 1 | ||||
-rw-r--r-- | sys/kern/subr_disk.c | 1 | ||||
-rw-r--r-- | sys/kern/subr_prf.c | 1 | ||||
-rw-r--r-- | sys/kern/subr_turnstile.c | 1 | ||||
-rw-r--r-- | sys/kern/vfs_bio.c | 1 | ||||
-rw-r--r-- | sys/kern/vfs_cluster.c | 1 |
8 files changed, 0 insertions, 8 deletions
diff --git a/sys/kern/kern_lockf.c b/sys/kern/kern_lockf.c index cb1fad4..7a7379b 100644 --- a/sys/kern/kern_lockf.c +++ b/sys/kern/kern_lockf.c @@ -51,7 +51,6 @@ #include <sys/malloc.h> #include <sys/fcntl.h> #include <sys/lockf.h> -#include <sys/stdint.h> #include <machine/limits.h> diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index 4dc1967..ea5f783 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -49,7 +49,6 @@ #include <sys/resourcevar.h> #include <sys/sched.h> #include <sys/sbuf.h> -#include <sys/stdint.h> #include <sys/sysctl.h> #include <sys/vmmeter.h> diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index 44d8986..87ec87d 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -12,7 +12,6 @@ #include "opt_ntp.h" #include <sys/param.h> -#include <sys/stdint.h> #include <sys/kernel.h> #include <sys/sysctl.h> #include <sys/systm.h> diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index bc4a513..375f751 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -14,7 +14,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/stdint.h> #include <sys/bio.h> #include <sys/conf.h> #include <sys/disk.h> diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 5a298ac..99b37f8 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -51,7 +51,6 @@ #include <sys/malloc.h> #include <sys/proc.h> #include <sys/stddef.h> -#include <sys/stdint.h> #include <sys/sysctl.h> #include <sys/tty.h> #include <sys/syslog.h> diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c index 4dc1967..ea5f783 100644 --- a/sys/kern/subr_turnstile.c +++ b/sys/kern/subr_turnstile.c @@ -49,7 +49,6 @@ #include <sys/resourcevar.h> #include <sys/sched.h> #include <sys/sbuf.h> -#include <sys/stdint.h> #include <sys/sysctl.h> #include <sys/vmmeter.h> diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index a5c6760..cf25ff4 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -29,7 +29,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/stdint.h> #include <sys/bio.h> #include <sys/buf.h> #include <sys/devicestat.h> diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 0a1c3c1..bd5914e 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -40,7 +40,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/stdint.h> #include <sys/kernel.h> #include <sys/proc.h> #include <sys/bio.h> |