summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-18 08:45:25 +0000
committerphk <phk@FreeBSD.org>2003-03-18 08:45:25 +0000
commite059b79437b2e02b4b4fdc0788b40a5da22e1f9b (patch)
treeedaddd833b7da7fad5ccce7a97a7d3c7c70d9786
parent6c826bc36853c5dead86a073669bbde4d939e945 (diff)
downloadFreeBSD-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.
-rw-r--r--sys/amd64/amd64/identcpu.c1
-rw-r--r--sys/amd64/amd64/tsc.c1
-rw-r--r--sys/amd64/isa/clock.c1
-rw-r--r--sys/contrib/dev/fla/fla.c1
-rw-r--r--sys/dev/ata/ata-all.c1
-rw-r--r--sys/dev/ata/atapi-tape.c1
-rw-r--r--sys/dev/ccd/ccd.c1
-rw-r--r--sys/dev/ciss/ciss.c1
-rw-r--r--sys/dev/fb/vga.c1
-rw-r--r--sys/dev/ida/ida.c1
-rw-r--r--sys/dev/iir/iir_pci.c1
-rw-r--r--sys/dev/md/md.c1
-rw-r--r--sys/dev/musycc/musycc.c1
-rw-r--r--sys/dev/ubsec/ubsec.c1
-rw-r--r--sys/geom/bde/g_bde.c1
-rw-r--r--sys/geom/bde/g_bde_crypt.c1
-rw-r--r--sys/geom/bde/g_bde_lock.c1
-rw-r--r--sys/geom/bde/g_bde_work.c1
-rw-r--r--sys/geom/geom_bsd.c1
-rw-r--r--sys/geom/geom_ccd.c1
-rw-r--r--sys/geom/geom_ctl.c1
-rw-r--r--sys/geom/geom_dev.c1
-rw-r--r--sys/geom/geom_disk.c1
-rw-r--r--sys/geom/geom_dump.c1
-rw-r--r--sys/geom/geom_io.c1
-rw-r--r--sys/geom/geom_slice.c1
-rw-r--r--sys/geom/geom_stats.c1
-rw-r--r--sys/geom/geom_subr.c1
-rw-r--r--sys/i386/i386/identcpu.c1
-rw-r--r--sys/i386/i386/tsc.c1
-rw-r--r--sys/i386/isa/clock.c1
-rw-r--r--sys/i386/linux/linux_machdep.c1
-rw-r--r--sys/isa/atrtc.c1
-rw-r--r--sys/kern/kern_lockf.c1
-rw-r--r--sys/kern/kern_mutex.c1
-rw-r--r--sys/kern/kern_tc.c1
-rw-r--r--sys/kern/subr_disk.c1
-rw-r--r--sys/kern/subr_prf.c1
-rw-r--r--sys/kern/subr_turnstile.c1
-rw-r--r--sys/kern/vfs_bio.c1
-rw-r--r--sys/kern/vfs_cluster.c1
-rw-r--r--sys/pc98/cbus/clock.c1
-rw-r--r--sys/pc98/cbus/pcrtc.c1
-rw-r--r--sys/pc98/pc98/clock.c1
-rw-r--r--sys/security/mac_portacl/mac_portacl.c1
-rw-r--r--sys/sys/systm.h1
-rw-r--r--sys/ufs/ffs/ffs_alloc.c1
-rw-r--r--sys/ufs/ffs/ffs_snapshot.c1
-rw-r--r--sys/ufs/ffs/ffs_softdep.c1
-rw-r--r--sys/ufs/ffs/ffs_subr.c1
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c1
-rw-r--r--sys/ufs/ufs/ufs_extattr.c1
-rw-r--r--sys/vm/vm_map.c1
-rw-r--r--sys/vm/vm_object.c1
-rw-r--r--sys/vm/vnode_pager.c1
55 files changed, 1 insertions, 54 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c
index 825f985..62d8620 100644
--- a/sys/amd64/amd64/identcpu.c
+++ b/sys/amd64/amd64/identcpu.c
@@ -44,7 +44,6 @@
#include "opt_cpu.h"
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/bus.h>
#include <sys/systm.h>
#include <sys/kernel.h>
diff --git a/sys/amd64/amd64/tsc.c b/sys/amd64/amd64/tsc.c
index 14b4751..e12a48d 100644
--- a/sys/amd64/amd64/tsc.c
+++ b/sys/amd64/amd64/tsc.c
@@ -29,7 +29,6 @@
#include "opt_clock.h"
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/time.h>
#include <sys/timetc.h>
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c
index 154ecc6..5b4e2e8 100644
--- a/sys/amd64/isa/clock.c
+++ b/sys/amd64/isa/clock.c
@@ -53,7 +53,6 @@
#include "opt_mca.h"
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/lock.h>
diff --git a/sys/contrib/dev/fla/fla.c b/sys/contrib/dev/fla/fla.c
index c1ee68b..8a01341 100644
--- a/sys/contrib/dev/fla/fla.c
+++ b/sys/contrib/dev/fla/fla.c
@@ -11,7 +11,6 @@
*/
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/sysctl.h>
#include <sys/kernel.h>
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c
index 48f9c2c..67da2a0 100644
--- a/sys/dev/ata/ata-all.c
+++ b/sys/dev/ata/ata-all.c
@@ -39,7 +39,6 @@
#include <sys/bus.h>
#include <sys/bio.h>
#include <sys/malloc.h>
-#include <sys/stdint.h>
#include <sys/sysctl.h>
#include <machine/stdarg.h>
#include <machine/resource.h>
diff --git a/sys/dev/ata/atapi-tape.c b/sys/dev/ata/atapi-tape.c
index 891dbe4..31bf97f 100644
--- a/sys/dev/ata/atapi-tape.c
+++ b/sys/dev/ata/atapi-tape.c
@@ -40,7 +40,6 @@
#include <sys/mtio.h>
#include <sys/disklabel.h>
#include <sys/devicestat.h>
-#include <sys/stdint.h>
#include <machine/bus.h>
#include <dev/ata/ata-all.h>
#include <dev/ata/atapi-all.h>
diff --git a/sys/dev/ccd/ccd.c b/sys/dev/ccd/ccd.c
index b973246..733fe3d 100644
--- a/sys/dev/ccd/ccd.c
+++ b/sys/dev/ccd/ccd.c
@@ -63,7 +63,6 @@
#include <sys/namei.h>
#include <sys/conf.h>
#include <sys/stat.h>
-#include <sys/stdint.h>
#include <sys/sysctl.h>
#include <sys/disk.h>
#include <sys/fcntl.h>
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index 4cf6271..6763c99 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -75,7 +75,6 @@
#include <sys/bus.h>
#include <sys/conf.h>
#include <sys/stat.h>
-#include <sys/stdint.h>
#include <cam/cam.h>
#include <cam/cam_ccb.h>
diff --git a/sys/dev/fb/vga.c b/sys/dev/fb/vga.c
index 562f716..358bc32 100644
--- a/sys/dev/fb/vga.c
+++ b/sys/dev/fb/vga.c
@@ -40,7 +40,6 @@
#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <sys/fbio.h>
-#include <sys/stdint.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
diff --git a/sys/dev/ida/ida.c b/sys/dev/ida/ida.c
index 464ad87..5cb69a4 100644
--- a/sys/dev/ida/ida.c
+++ b/sys/dev/ida/ida.c
@@ -40,7 +40,6 @@
#include <sys/param.h>
#include <sys/kernel.h>
-#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/malloc.h>
diff --git a/sys/dev/iir/iir_pci.c b/sys/dev/iir/iir_pci.c
index d22077a..581b263 100644
--- a/sys/dev/iir/iir_pci.c
+++ b/sys/dev/iir/iir_pci.c
@@ -48,7 +48,6 @@
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/bus.h>
-#include <sys/stdint.h>
#include <machine/bus_memio.h>
#include <machine/bus_pio.h>
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index 232eba8..034fa07 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -76,7 +76,6 @@
#include <sys/namei.h>
#include <sys/proc.h>
#include <sys/queue.h>
-#include <sys/stdint.h>
#include <sys/sysctl.h>
#include <sys/vnode.h>
diff --git a/sys/dev/musycc/musycc.c b/sys/dev/musycc/musycc.c
index 3fb7834..c13b79e 100644
--- a/sys/dev/musycc/musycc.c
+++ b/sys/dev/musycc/musycc.c
@@ -47,7 +47,6 @@
#include <sys/bus.h>
#include <sys/mbuf.h>
#include <sys/queue.h>
-#include <sys/stdint.h>
#include <machine/bus.h>
#include <machine/clock.h>
#include <sys/rman.h>
diff --git a/sys/dev/ubsec/ubsec.c b/sys/dev/ubsec/ubsec.c
index c091653..c5291b9 100644
--- a/sys/dev/ubsec/ubsec.c
+++ b/sys/dev/ubsec/ubsec.c
@@ -55,7 +55,6 @@
#include <sys/mbuf.h>
#include <sys/lock.h>
#include <sys/mutex.h>
-#include <sys/stdint.h>
#include <sys/sysctl.h>
#include <sys/endian.h>
diff --git a/sys/geom/bde/g_bde.c b/sys/geom/bde/g_bde.c
index 4d7f615..9e5ee6c 100644
--- a/sys/geom/bde/g_bde.c
+++ b/sys/geom/bde/g_bde.c
@@ -34,7 +34,6 @@
*/
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/bio.h>
#include <sys/lock.h>
#include <sys/mutex.h>
diff --git a/sys/geom/bde/g_bde_crypt.c b/sys/geom/bde/g_bde_crypt.c
index fbaa135..b20fd1c 100644
--- a/sys/geom/bde/g_bde_crypt.c
+++ b/sys/geom/bde/g_bde_crypt.c
@@ -37,7 +37,6 @@
*/
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/bio.h>
#include <sys/lock.h>
#include <sys/mutex.h>
diff --git a/sys/geom/bde/g_bde_lock.c b/sys/geom/bde/g_bde_lock.c
index 75aa40b..15b13df 100644
--- a/sys/geom/bde/g_bde_lock.c
+++ b/sys/geom/bde/g_bde_lock.c
@@ -38,7 +38,6 @@
#include <sys/param.h>
#include <sys/queue.h>
-#include <sys/stdint.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/md5.h>
diff --git a/sys/geom/bde/g_bde_work.c b/sys/geom/bde/g_bde_work.c
index 804b5e4..e1eac05 100644
--- a/sys/geom/bde/g_bde_work.c
+++ b/sys/geom/bde/g_bde_work.c
@@ -58,7 +58,6 @@
*/
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/bio.h>
#include <sys/lock.h>
#include <sys/mutex.h>
diff --git a/sys/geom/geom_bsd.c b/sys/geom/geom_bsd.c
index 96b6cfd..9a76f70 100644
--- a/sys/geom/geom_bsd.c
+++ b/sys/geom/geom_bsd.c
@@ -55,7 +55,6 @@
#include <sys/lock.h>
#include <sys/mutex.h>
#endif
-#include <sys/stdint.h>
#include <sys/md5.h>
#include <sys/errno.h>
#include <sys/disklabel.h>
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c
index b973246..733fe3d 100644
--- a/sys/geom/geom_ccd.c
+++ b/sys/geom/geom_ccd.c
@@ -63,7 +63,6 @@
#include <sys/namei.h>
#include <sys/conf.h>
#include <sys/stat.h>
-#include <sys/stdint.h>
#include <sys/sysctl.h>
#include <sys/disk.h>
#include <sys/fcntl.h>
diff --git a/sys/geom/geom_ctl.c b/sys/geom/geom_ctl.c
index 48bac22..1cb502c 100644
--- a/sys/geom/geom_ctl.c
+++ b/sys/geom/geom_ctl.c
@@ -46,7 +46,6 @@
#include <sys/disk.h>
#include <sys/malloc.h>
#include <sys/sysctl.h>
-#include <sys/stdint.h>
#include <sys/lock.h>
#include <sys/mutex.h>
diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c
index 0037b07..8bf5f39 100644
--- a/sys/geom/geom_dev.c
+++ b/sys/geom/geom_dev.c
@@ -36,7 +36,6 @@
*/
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c
index 5c3a57b..57dab5f 100644
--- a/sys/geom/geom_disk.c
+++ b/sys/geom/geom_disk.c
@@ -47,7 +47,6 @@
#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <sys/sysctl.h>
-#include <sys/stdint.h>
#include <sys/devicestat.h>
#include <machine/md_var.h>
diff --git a/sys/geom/geom_dump.c b/sys/geom/geom_dump.c
index 561ae51..b1ea85b 100644
--- a/sys/geom/geom_dump.c
+++ b/sys/geom/geom_dump.c
@@ -37,7 +37,6 @@
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/sbuf.h>
#ifndef _KERNEL
#include <stdio.h>
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c
index b0ab512..e67738a 100644
--- a/sys/geom/geom_io.c
+++ b/sys/geom/geom_io.c
@@ -37,7 +37,6 @@
#include <sys/param.h>
-#include <sys/stdint.h>
#ifndef _KERNEL
#include <stdio.h>
#include <string.h>
diff --git a/sys/geom/geom_slice.c b/sys/geom/geom_slice.c
index 0a23751..53055a7 100644
--- a/sys/geom/geom_slice.c
+++ b/sys/geom/geom_slice.c
@@ -37,7 +37,6 @@
#include <sys/param.h>
-#include <sys/stdint.h>
#ifndef _KERNEL
#include <stdio.h>
#include <unistd.h>
diff --git a/sys/geom/geom_stats.c b/sys/geom/geom_stats.c
index 20687d7..03e1c75 100644
--- a/sys/geom/geom_stats.c
+++ b/sys/geom/geom_stats.c
@@ -40,7 +40,6 @@
#include <sys/disk.h>
#include <sys/malloc.h>
#include <sys/sysctl.h>
-#include <sys/stdint.h>
#include <vm/vm.h>
#include <vm/pmap.h>
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c
index 3b40d46..e76a71d 100644
--- a/sys/geom/geom_subr.c
+++ b/sys/geom/geom_subr.c
@@ -37,7 +37,6 @@
#include <sys/param.h>
-#include <sys/stdint.h>
#ifndef _KERNEL
#include <stdio.h>
#include <unistd.h>
diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c
index 825f985..62d8620 100644
--- a/sys/i386/i386/identcpu.c
+++ b/sys/i386/i386/identcpu.c
@@ -44,7 +44,6 @@
#include "opt_cpu.h"
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/bus.h>
#include <sys/systm.h>
#include <sys/kernel.h>
diff --git a/sys/i386/i386/tsc.c b/sys/i386/i386/tsc.c
index 14b4751..e12a48d 100644
--- a/sys/i386/i386/tsc.c
+++ b/sys/i386/i386/tsc.c
@@ -29,7 +29,6 @@
#include "opt_clock.h"
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/time.h>
#include <sys/timetc.h>
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c
index 154ecc6..5b4e2e8 100644
--- a/sys/i386/isa/clock.c
+++ b/sys/i386/isa/clock.c
@@ -53,7 +53,6 @@
#include "opt_mca.h"
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/lock.h>
diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c
index 54593d3..c7e6531 100644
--- a/sys/i386/linux/linux_machdep.c
+++ b/sys/i386/linux/linux_machdep.c
@@ -36,7 +36,6 @@
#include <sys/proc.h>
#include <sys/resource.h>
#include <sys/resourcevar.h>
-#include <sys/stdint.h>
#include <sys/syscallsubr.h>
#include <sys/sysproto.h>
#include <sys/unistd.h>
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c
index 154ecc6..5b4e2e8 100644
--- a/sys/isa/atrtc.c
+++ b/sys/isa/atrtc.c
@@ -53,7 +53,6 @@
#include "opt_mca.h"
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/lock.h>
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>
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 7df16a4..6a86b1a 100644
--- a/sys/pc98/cbus/clock.c
+++ b/sys/pc98/cbus/clock.c
@@ -57,7 +57,6 @@
#include "opt_mca.h"
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/lock.h>
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 7df16a4..6a86b1a 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -57,7 +57,6 @@
#include "opt_mca.h"
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/lock.h>
diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c
index 7df16a4..6a86b1a 100644
--- a/sys/pc98/pc98/clock.c
+++ b/sys/pc98/pc98/clock.c
@@ -57,7 +57,6 @@
#include "opt_mca.h"
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/lock.h>
diff --git a/sys/security/mac_portacl/mac_portacl.c b/sys/security/mac_portacl/mac_portacl.c
index 917a6d3..a44be71 100644
--- a/sys/security/mac_portacl/mac_portacl.c
+++ b/sys/security/mac_portacl/mac_portacl.c
@@ -75,7 +75,6 @@
#include <sys/sbuf.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
-#include <sys/stdint.h>
#include <sys/sx.h>
#include <sys/sysctl.h>
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index 5699f43..6295921 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -46,6 +46,7 @@
#include <machine/cpufunc.h>
#include <sys/callout.h>
#include <sys/queue.h>
+#include <sys/stdint.h> /* for people using printf mainly */
extern int securelevel; /* system security level (see init(8)) */
extern int suser_enabled; /* suser() is permitted to return 0 */
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c
index 2ebf67e..f3d6783 100644
--- a/sys/ufs/ffs/ffs_alloc.c
+++ b/sys/ufs/ffs/ffs_alloc.c
@@ -56,7 +56,6 @@
#include <sys/vnode.h>
#include <sys/mount.h>
#include <sys/kernel.h>
-#include <sys/stdint.h>
#include <sys/sysctl.h>
#include <sys/syslog.h>
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c
index a4585d3..58ddfd2 100644
--- a/sys/ufs/ffs/ffs_snapshot.c
+++ b/sys/ufs/ffs/ffs_snapshot.c
@@ -35,7 +35,6 @@
*/
#include <sys/param.h>
-#include <sys/stdint.h>
#include <sys/kernel.h>
#include <sys/systm.h>
#include <sys/conf.h>
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 3d3fd92..df14940 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
-#include <sys/stdint.h>
#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/malloc.h>
diff --git a/sys/ufs/ffs/ffs_subr.c b/sys/ufs/ffs/ffs_subr.c
index f0c8277..368d93f 100644
--- a/sys/ufs/ffs/ffs_subr.c
+++ b/sys/ufs/ffs/ffs_subr.c
@@ -44,7 +44,6 @@
#include "opt_ddb.h"
#include <sys/systm.h>
-#include <sys/stdint.h>
#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mount.h>
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index 17aab31..fe22521 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -40,7 +40,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/stdint.h>
#include <sys/namei.h>
#include <sys/proc.h>
#include <sys/kernel.h>
diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c
index b9d7b89..f715189 100644
--- a/sys/ufs/ufs/ufs_extattr.c
+++ b/sys/ufs/ufs/ufs_extattr.c
@@ -52,7 +52,6 @@
#include <sys/lock.h>
#include <sys/dirent.h>
#include <sys/extattr.h>
-#include <sys/stdint.h>
#include <sys/sysctl.h>
#include <vm/uma.h>
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 6e96db3..123b162 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -79,7 +79,6 @@
#include <sys/vnode.h>
#include <sys/resourcevar.h>
#include <sys/sysent.h>
-#include <sys/stdint.h>
#include <sys/shm.h>
#include <vm/vm.h>
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index b51987b..c11e842 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -78,7 +78,6 @@
#include <sys/mutex.h>
#include <sys/proc.h> /* for curproc, pageproc */
#include <sys/socket.h>
-#include <sys/stdint.h>
#include <sys/vnode.h>
#include <sys/vmmeter.h>
#include <sys/sx.h>
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c
index 5522bcb..f0a62f2 100644
--- a/sys/vm/vnode_pager.c
+++ b/sys/vm/vnode_pager.c
@@ -60,7 +60,6 @@
#include <sys/buf.h>
#include <sys/vmmeter.h>
#include <sys/conf.h>
-#include <sys/stdint.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
OpenPOWER on IntegriCloud