summaryrefslogtreecommitdiffstats
path: root/sys/geom
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 /sys/geom
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.
Diffstat (limited to 'sys/geom')
-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
14 files changed, 0 insertions, 14 deletions
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>
OpenPOWER on IntegriCloud