diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-09-08 05:36:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-09-08 05:36:54 +0000 |
commit | d57c7d7b30add2ecd463f68aef3651ef7bca7eb7 (patch) | |
tree | 57cbf3ade2a9c95a25842cb657179cb4f8c78a82 /sys/ddb | |
parent | 52b7fef1a1e427e7790b90eb2733372c2c8575ba (diff) |
If you use sys/param.h, you don't need sys/types.h
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_ctf.c | 5 | ||||
-rw-r--r-- | sys/ddb/db_dwarf.c | 3 | ||||
-rw-r--r-- | sys/ddb/db_elf.c | 5 | ||||
-rw-r--r-- | sys/ddb/db_usrreq.c | 3 |
4 files changed, 6 insertions, 10 deletions
diff --git a/sys/ddb/db_ctf.c b/sys/ddb/db_ctf.c index e38226e3a9b..6b67b962e84 100644 --- a/sys/ddb/db_ctf.c +++ b/sys/ddb/db_ctf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_ctf.c,v 1.19 2017/09/06 09:49:35 dlg Exp $ */ +/* $OpenBSD: db_ctf.c,v 1.20 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2016-2017 Martin Pieuchot @@ -17,9 +17,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/types.h> -#include <sys/stdint.h> #include <sys/param.h> +#include <sys/stdint.h> #include <sys/systm.h> #include <sys/exec.h> diff --git a/sys/ddb/db_dwarf.c b/sys/ddb/db_dwarf.c index 5956d602664..5000479fac2 100644 --- a/sys/ddb/db_dwarf.c +++ b/sys/ddb/db_dwarf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_dwarf.c,v 1.5 2016/04/20 08:02:59 mpi Exp $ */ +/* $OpenBSD: db_dwarf.c,v 1.6 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2014 Matthew Dempsky <matthew@dempsky.org> * @@ -18,7 +18,6 @@ #ifdef _KERNEL #include <sys/param.h> #include <sys/systm.h> -#include <sys/types.h> #include <machine/db_machdep.h> #include <ddb/db_sym.h> #ifdef DIAGNOSTIC diff --git a/sys/ddb/db_elf.c b/sys/ddb/db_elf.c index dbf41c127af..3d463d7c3d4 100644 --- a/sys/ddb/db_elf.c +++ b/sys/ddb/db_elf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_elf.c,v 1.27 2017/08/10 19:39:38 mpi Exp $ */ +/* $OpenBSD: db_elf.c,v 1.28 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: db_elf.c,v 1.13 2000/07/07 21:55:18 jhawk Exp $ */ /*- @@ -31,9 +31,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> -#include <sys/stdint.h> #include <sys/param.h> +#include <sys/stdint.h> #include <sys/systm.h> #include <sys/exec.h> diff --git a/sys/ddb/db_usrreq.c b/sys/ddb/db_usrreq.c index 678680cafe0..546822459ca 100644 --- a/sys/ddb/db_usrreq.c +++ b/sys/ddb/db_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_usrreq.c,v 1.19 2017/04/30 16:45:45 mpi Exp $ */ +/* $OpenBSD: db_usrreq.c,v 1.20 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff. All rights reserved. @@ -25,7 +25,6 @@ */ #include <sys/param.h> -#include <sys/types.h> #include <sys/systm.h> #include <sys/proc.h> #include <sys/tty.h> |