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/dev | |
parent | 52b7fef1a1e427e7790b90eb2733372c2c8575ba (diff) |
If you use sys/param.h, you don't need sys/types.h
Diffstat (limited to 'sys/dev')
79 files changed, 84 insertions, 164 deletions
diff --git a/sys/dev/diskmap.c b/sys/dev/diskmap.c index ef3e90c517d..4550cffc264 100644 --- a/sys/dev/diskmap.c +++ b/sys/dev/diskmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diskmap.c,v 1.15 2016/04/29 14:40:36 beck Exp $ */ +/* $OpenBSD: diskmap.c,v 1.16 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2009, 2010 Joel Sing <jsing@openbsd.org> @@ -21,7 +21,6 @@ */ #include <sys/param.h> -#include <sys/types.h> #include <sys/systm.h> #include <sys/device.h> #include <sys/errno.h> diff --git a/sys/dev/eisa/cac_eisa.c b/sys/dev/eisa/cac_eisa.c index 1e9ce07c86f..ff6f85d47ac 100644 --- a/sys/dev/eisa/cac_eisa.c +++ b/sys/dev/eisa/cac_eisa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cac_eisa.c,v 1.4 2009/06/02 11:38:21 deraadt Exp $ */ +/* $OpenBSD: cac_eisa.c,v 1.5 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: cac_eisa.c,v 1.1 2000/09/01 12:15:20 ad Exp $ */ /*- @@ -61,7 +61,6 @@ * EISA front-end for cac(4) driver. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/eisa/dpt_eisa.c b/sys/dev/eisa/dpt_eisa.c index e8f6700b343..48036b16ecc 100644 --- a/sys/dev/eisa/dpt_eisa.c +++ b/sys/dev/eisa/dpt_eisa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dpt_eisa.c,v 1.4 2008/05/13 02:24:08 brad Exp $ */ +/* $OpenBSD: dpt_eisa.c,v 1.5 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: dpt_eisa.c,v 1.2 1999/10/18 21:59:19 ad Exp $ */ /* @@ -32,7 +32,6 @@ * EISA front-end for DPT EATA SCSI driver. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/eisa/uha_eisa.c b/sys/dev/eisa/uha_eisa.c index 4a9b851d7eb..9d2fe688bf1 100644 --- a/sys/dev/eisa/uha_eisa.c +++ b/sys/dev/eisa/uha_eisa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uha_eisa.c,v 1.13 2014/09/14 14:17:24 jsg Exp $ */ +/* $OpenBSD: uha_eisa.c,v 1.14 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: uha_eisa.c,v 1.5 1996/10/21 22:31:07 thorpej Exp $ */ /* @@ -30,7 +30,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/fdt/if_mvneta.c b/sys/dev/fdt/if_mvneta.c index bff95633672..525702554ad 100644 --- a/sys/dev/fdt/if_mvneta.c +++ b/sys/dev/fdt/if_mvneta.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mvneta.c,v 1.1 2017/08/25 20:09:34 patrick Exp $ */ +/* $OpenBSD: if_mvneta.c,v 1.2 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: if_mvneta.c,v 1.41 2015/04/15 10:15:40 hsuenaga Exp $ */ /* * Copyright (c) 2007, 2008, 2013 KIYOHARA Takashi @@ -37,7 +37,6 @@ #include <sys/mutex.h> #include <sys/socket.h> #include <sys/sockio.h> -#include <sys/types.h> #include <uvm/uvm_extern.h> #include <sys/mbuf.h> diff --git a/sys/dev/fdt/sxiccmu.c b/sys/dev/fdt/sxiccmu.c index 0cfa7aaf464..0f82e39f52a 100644 --- a/sys/dev/fdt/sxiccmu.c +++ b/sys/dev/fdt/sxiccmu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sxiccmu.c,v 1.6 2017/09/02 21:44:52 patrick Exp $ */ +/* $OpenBSD: sxiccmu.c,v 1.7 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org> * Copyright (c) 2013 Artturi Alm @@ -17,7 +17,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/ic/adv.c b/sys/dev/ic/adv.c index 0040b999a02..4456418104b 100644 --- a/sys/dev/ic/adv.c +++ b/sys/dev/ic/adv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adv.c,v 1.36 2014/09/14 14:17:24 jsg Exp $ */ +/* $OpenBSD: adv.c,v 1.37 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: adv.c,v 1.6 1998/10/28 20:39:45 dante Exp $ */ /* @@ -31,7 +31,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/ic/advlib.c b/sys/dev/ic/advlib.c index 2984cbdfc5b..8386ec2807b 100644 --- a/sys/dev/ic/advlib.c +++ b/sys/dev/ic/advlib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: advlib.c,v 1.14 2013/11/15 16:46:27 brad Exp $ */ +/* $OpenBSD: advlib.c,v 1.15 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: advlib.c,v 1.7 1998/10/28 20:39:46 dante Exp $ */ /* @@ -46,7 +46,6 @@ * */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/malloc.h> diff --git a/sys/dev/ic/adw.c b/sys/dev/ic/adw.c index c1efc7f0c13..8ffd2b3d0d4 100644 --- a/sys/dev/ic/adw.c +++ b/sys/dev/ic/adw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adw.c,v 1.54 2017/04/11 14:43:49 dhill Exp $ */ +/* $OpenBSD: adw.c,v 1.55 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: adw.c,v 1.23 2000/05/27 18:24:50 dante Exp $ */ /* @@ -31,7 +31,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/ic/adwlib.c b/sys/dev/ic/adwlib.c index 2852a1531e1..fc17cdf5e3c 100644 --- a/sys/dev/ic/adwlib.c +++ b/sys/dev/ic/adwlib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adwlib.c,v 1.24 2012/01/11 16:22:32 dhill Exp $ */ +/* $OpenBSD: adwlib.c,v 1.25 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: adwlib.c,v 1.20 2000/07/04 04:17:03 itojun Exp $ */ /* @@ -45,7 +45,6 @@ * modification. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/malloc.h> diff --git a/sys/dev/ic/aic6250.c b/sys/dev/ic/aic6250.c index d438d82ee3a..23297285bc9 100644 --- a/sys/dev/ic/aic6250.c +++ b/sys/dev/ic/aic6250.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic6250.c,v 1.3 2017/04/30 16:45:45 mpi Exp $ */ +/* $OpenBSD: aic6250.c,v 1.4 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2010, 2013 Miodrag Vallat. @@ -105,7 +105,6 @@ /* End of customizable parameters */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/ic/aic6360.c b/sys/dev/ic/aic6360.c index 3520ea837e0..46da32e9007 100644 --- a/sys/dev/ic/aic6360.c +++ b/sys/dev/ic/aic6360.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic6360.c,v 1.28 2017/04/30 16:45:46 mpi Exp $ */ +/* $OpenBSD: aic6360.c,v 1.29 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: aic6360.c,v 1.52 1996/12/10 21:27:51 thorpej Exp $ */ #ifdef DDB @@ -122,7 +122,6 @@ #error "I said not yet! Start paying attention... grumble" #endif -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/ic/bwi.c b/sys/dev/ic/bwi.c index db0de53b04c..ee04f178247 100644 --- a/sys/dev/ic/bwi.c +++ b/sys/dev/ic/bwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bwi.c,v 1.125 2017/07/03 09:21:09 kevlo Exp $ */ +/* $OpenBSD: bwi.c,v 1.126 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2007 The DragonFly Project. All rights reserved. @@ -39,7 +39,6 @@ #include "bpfilter.h" #include <sys/param.h> -#include <sys/types.h> #include <sys/device.h> #include <sys/kernel.h> diff --git a/sys/dev/ic/cy.c b/sys/dev/ic/cy.c index e86e205dd4f..dacd33b96e5 100644 --- a/sys/dev/ic/cy.c +++ b/sys/dev/ic/cy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cy.c,v 1.36 2017/02/01 16:46:57 bluhm Exp $ */ +/* $OpenBSD: cy.c,v 1.37 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 1996 Timo Rossi. * All rights reserved. @@ -50,7 +50,6 @@ * */ -#include <sys/types.h> #include <sys/param.h> #include <sys/ioctl.h> #include <sys/syslog.h> diff --git a/sys/dev/ic/i82365.c b/sys/dev/ic/i82365.c index 7d34c3c1a42..f8cf68ccdc5 100644 --- a/sys/dev/ic/i82365.c +++ b/sys/dev/ic/i82365.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365.c,v 1.35 2017/04/08 02:57:25 deraadt Exp $ */ +/* $OpenBSD: i82365.c,v 1.36 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: i82365.c,v 1.10 1998/06/09 07:36:55 thorpej Exp $ */ /* @@ -30,7 +30,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/ic/lsi64854.c b/sys/dev/ic/lsi64854.c index 8ff1d1cdff6..4ac686fe2e7 100644 --- a/sys/dev/ic/lsi64854.c +++ b/sys/dev/ic/lsi64854.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsi64854.c,v 1.10 2014/07/08 17:19:25 deraadt Exp $ */ +/* $OpenBSD: lsi64854.c,v 1.11 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: lsi64854.c,v 1.18 2001/06/04 20:56:51 mrg Exp $ */ /*- @@ -30,7 +30,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/ic/malo.c b/sys/dev/ic/malo.c index b1044bb9bd3..2cb532c47b6 100644 --- a/sys/dev/ic/malo.c +++ b/sys/dev/ic/malo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malo.c,v 1.114 2017/04/04 04:38:31 deraadt Exp $ */ +/* $OpenBSD: malo.c,v 1.115 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org> @@ -20,7 +20,6 @@ #include "bpfilter.h" #include <sys/param.h> -#include <sys/types.h> #include <sys/device.h> #include <sys/kernel.h> diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index 6950d46b7ed..57fe533211b 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.167 2017/02/02 03:47:41 dlg Exp $ */ +/* $OpenBSD: mfi.c,v 1.168 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -17,7 +17,6 @@ #include "bio.h" -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/buf.h> diff --git a/sys/dev/ic/ncr5380sbc.c b/sys/dev/ic/ncr5380sbc.c index ce030d61692..38d0ae6f885 100644 --- a/sys/dev/ic/ncr5380sbc.c +++ b/sys/dev/ic/ncr5380sbc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr5380sbc.c,v 1.33 2017/04/30 16:45:46 mpi Exp $ */ +/* $OpenBSD: ncr5380sbc.c,v 1.34 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: ncr5380sbc.c,v 1.13 1996/10/13 01:37:25 christos Exp $ */ /* @@ -67,7 +67,6 @@ * There are others too. Thanks, everyone. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c index fa00dbf7453..e4a25139049 100644 --- a/sys/dev/ic/ncr53c9x.c +++ b/sys/dev/ic/ncr53c9x.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr53c9x.c,v 1.63 2016/09/15 02:00:17 dlg Exp $ */ +/* $OpenBSD: ncr53c9x.c,v 1.64 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */ /* @@ -65,7 +65,6 @@ * Charles Hannum (mycroft@duality.gnu.ai.mit.edu). Thanks a million! */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c index b5d84ed78f2..51aaaedb706 100644 --- a/sys/dev/ic/rtw.c +++ b/sys/dev/ic/rtw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtw.c,v 1.98 2017/04/08 02:57:25 deraadt Exp $ */ +/* $OpenBSD: rtw.c,v 1.99 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */ /*- @@ -45,7 +45,6 @@ #include <sys/ioctl.h> #include <sys/socket.h> #include <sys/time.h> -#include <sys/types.h> #include <sys/endian.h> #include <machine/bus.h> diff --git a/sys/dev/ic/tcic2.c b/sys/dev/ic/tcic2.c index 52277af36d2..fa491ac096e 100644 --- a/sys/dev/ic/tcic2.c +++ b/sys/dev/ic/tcic2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcic2.c,v 1.11 2014/07/12 18:48:17 tedu Exp $ */ +/* $OpenBSD: tcic2.c,v 1.12 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: tcic2.c,v 1.3 2000/01/13 09:38:17 joda Exp $ */ #undef TCICDEBUG @@ -33,7 +33,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/ic/uha.c b/sys/dev/ic/uha.c index 58b35570398..b0f3b08f5ab 100644 --- a/sys/dev/ic/uha.c +++ b/sys/dev/ic/uha.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uha.c,v 1.25 2017/07/26 03:36:19 deraadt Exp $ */ +/* $OpenBSD: uha.c,v 1.26 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: uha.c,v 1.3 1996/10/13 01:37:29 christos Exp $ */ #undef UHADEBUG @@ -54,7 +54,6 @@ * slight mod to make work with 34F as well: Wed Jun 2 18:05:48 WST 1993 */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/ipmi.c b/sys/dev/ipmi.c index 07bc1c87863..788838a1d60 100644 --- a/sys/dev/ipmi.c +++ b/sys/dev/ipmi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipmi.c,v 1.98 2017/06/29 03:48:44 tedu Exp $ */ +/* $OpenBSD: ipmi.c,v 1.99 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2015 Masao Uebayashi @@ -27,7 +27,6 @@ * SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/isa/aic_isa.c b/sys/dev/isa/aic_isa.c index 8e23b412809..576f6072915 100644 --- a/sys/dev/isa/aic_isa.c +++ b/sys/dev/isa/aic_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic_isa.c,v 1.7 2014/09/14 14:17:25 jsg Exp $ */ +/* $OpenBSD: aic_isa.c,v 1.8 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: aic6360.c,v 1.52 1996/12/10 21:27:51 thorpej Exp $ */ /* @@ -51,7 +51,6 @@ * Charles Hannum (mycroft@duality.gnu.ai.mit.edu). Thanks a million! */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/isa/i82365_isa.c b/sys/dev/isa/i82365_isa.c index a7bdac21cf2..791c0f85244 100644 --- a/sys/dev/isa/i82365_isa.c +++ b/sys/dev/isa/i82365_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365_isa.c,v 1.22 2010/09/07 16:21:43 deraadt Exp $ */ +/* $OpenBSD: i82365_isa.c,v 1.23 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: i82365_isa.c,v 1.11 1998/06/09 07:25:00 thorpej Exp $ */ /* @@ -30,7 +30,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/isa/i82365_isapnp.c b/sys/dev/isa/i82365_isapnp.c index 85e636c5148..1acbf393471 100644 --- a/sys/dev/isa/i82365_isapnp.c +++ b/sys/dev/isa/i82365_isapnp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365_isapnp.c,v 1.8 2010/09/07 16:21:43 deraadt Exp $ */ +/* $OpenBSD: i82365_isapnp.c,v 1.9 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: i82365_isapnp.c,v 1.8 2000/02/23 17:22:11 soren Exp $ */ /* @@ -32,7 +32,6 @@ */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/isa/i82365_isasubr.c b/sys/dev/isa/i82365_isasubr.c index 00def7ac105..a1cb52ecd5a 100644 --- a/sys/dev/isa/i82365_isasubr.c +++ b/sys/dev/isa/i82365_isasubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365_isasubr.c,v 1.24 2013/07/14 15:18:36 kettenis Exp $ */ +/* $OpenBSD: i82365_isasubr.c,v 1.25 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: i82365_isasubr.c,v 1.1 1998/06/07 18:28:31 sommerfe Exp $ */ /* @@ -32,7 +32,6 @@ */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/isa/if_eg.c b/sys/dev/isa/if_eg.c index 7a17a3ef5a3..d2e979c3095 100644 --- a/sys/dev/isa/if_eg.c +++ b/sys/dev/isa/if_eg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_eg.c,v 1.48 2017/06/04 19:23:20 naddy Exp $ */ +/* $OpenBSD: if_eg.c,v 1.49 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: if_eg.c,v 1.26 1996/05/12 23:52:27 mycroft Exp $ */ /* @@ -40,7 +40,6 @@ */ #include "bpfilter.h" -#include <sys/types.h> #include <sys/param.h> #include <sys/mbuf.h> #include <sys/socket.h> diff --git a/sys/dev/isa/sch311x.c b/sys/dev/isa/sch311x.c index b7b3dc4e86c..6a5ad56f509 100644 --- a/sys/dev/isa/sch311x.c +++ b/sys/dev/isa/sch311x.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sch311x.c,v 1.16 2016/08/30 12:24:07 jsg Exp $ */ +/* $OpenBSD: sch311x.c,v 1.17 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org> * Copyright (c) 2009 Michael Knudsen <mk@openbsd.org> @@ -24,7 +24,6 @@ #include <sys/device.h> #include <sys/kernel.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/sensors.h> #include <machine/bus.h> diff --git a/sys/dev/isa/tcic2_isa.c b/sys/dev/isa/tcic2_isa.c index 168365ec281..f87b8fb6e8d 100644 --- a/sys/dev/isa/tcic2_isa.c +++ b/sys/dev/isa/tcic2_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcic2_isa.c,v 1.7 2005/01/27 17:03:23 millert Exp $ */ +/* $OpenBSD: tcic2_isa.c,v 1.8 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: tcic2_isa.c,v 1.2 1999/04/08 16:14:29 bad Exp $ */ #undef TCICISADEBUG @@ -35,7 +35,6 @@ */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/isa/uha_isa.c b/sys/dev/isa/uha_isa.c index 63e31145f5f..69bdf9b2990 100644 --- a/sys/dev/isa/uha_isa.c +++ b/sys/dev/isa/uha_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uha_isa.c,v 1.12 2014/09/14 14:17:25 jsg Exp $ */ +/* $OpenBSD: uha_isa.c,v 1.13 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: uha_isa.c,v 1.5 1996/10/21 22:41:21 thorpej Exp $ */ /* @@ -30,7 +30,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/isa/wdc_isa.c b/sys/dev/isa/wdc_isa.c index 1cf488a954a..6804ab54388 100644 --- a/sys/dev/isa/wdc_isa.c +++ b/sys/dev/isa/wdc_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc_isa.c,v 1.15 2011/06/20 01:09:25 matthew Exp $ */ +/* $OpenBSD: wdc_isa.c,v 1.16 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: wdc_isa.c,v 1.15 1999/05/19 14:41:25 bouyer Exp $ */ /*- @@ -30,7 +30,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/isa/wdc_isapnp.c b/sys/dev/isa/wdc_isapnp.c index c304ac4e919..dbe07bcb82c 100644 --- a/sys/dev/isa/wdc_isapnp.c +++ b/sys/dev/isa/wdc_isapnp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc_isapnp.c,v 1.10 2011/06/29 12:17:40 tedu Exp $ */ +/* $OpenBSD: wdc_isapnp.c,v 1.11 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: wdc_isapnp.c,v 1.13 1999/03/22 10:00:12 mycroft Exp $ */ /*- @@ -30,7 +30,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/isa/wds.c b/sys/dev/isa/wds.c index 96668c2e100..b0dfc258f41 100644 --- a/sys/dev/isa/wds.c +++ b/sys/dev/isa/wds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wds.c,v 1.42 2014/09/14 14:17:25 jsg Exp $ */ +/* $OpenBSD: wds.c,v 1.43 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: wds.c,v 1.13 1996/11/03 16:20:31 mycroft Exp $ */ #undef WDSDIAG @@ -57,7 +57,6 @@ * so they decided to delete the copyright that file had on it. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/microcode/adw/adwmcode.c b/sys/dev/microcode/adw/adwmcode.c index 9ec8fe000a2..cc564f1da64 100644 --- a/sys/dev/microcode/adw/adwmcode.c +++ b/sys/dev/microcode/adw/adwmcode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adwmcode.c,v 1.7 2015/03/14 03:38:47 jsg Exp $ */ +/* $OpenBSD: adwmcode.c,v 1.8 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: adwmcode.c,v 1.5 2000/05/27 18:24:50 dante Exp $ */ /* @@ -48,7 +48,6 @@ */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/microcode/tusb3410/build.c b/sys/dev/microcode/tusb3410/build.c index 41d9d4c582f..d0b0416a97d 100644 --- a/sys/dev/microcode/tusb3410/build.c +++ b/sys/dev/microcode/tusb3410/build.c @@ -1,4 +1,4 @@ -/* $OpenBSD: build.c,v 1.5 2016/12/18 18:28:39 krw Exp $ */ +/* $OpenBSD: build.c,v 1.6 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org> @@ -15,10 +15,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/types.h> +#include <sys/param.h> #include <sys/uio.h> #include <fcntl.h> -#include <sys/param.h> #include <err.h> #include <stdio.h> #include <unistd.h> diff --git a/sys/dev/pci/adv_pci.c b/sys/dev/pci/adv_pci.c index 73a84daf9f9..bb3d26da8b0 100644 --- a/sys/dev/pci/adv_pci.c +++ b/sys/dev/pci/adv_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adv_pci.c,v 1.11 2011/04/03 15:36:02 jasper Exp $ */ +/* $OpenBSD: adv_pci.c,v 1.12 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: adv_pci.c,v 1.5 1998/09/26 15:52:55 dante Exp $ */ /* @@ -55,7 +55,6 @@ * 2. This board has been sold by Iomega as a Jaz Jet PCI adapter. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/malloc.h> diff --git a/sys/dev/pci/adw_pci.c b/sys/dev/pci/adw_pci.c index dcd9851bdd3..a895e4aac9e 100644 --- a/sys/dev/pci/adw_pci.c +++ b/sys/dev/pci/adw_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adw_pci.c,v 1.17 2015/03/14 03:38:48 jsg Exp $ */ +/* $OpenBSD: adw_pci.c,v 1.18 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: adw_pci.c,v 1.7 2000/05/26 15:13:46 dante Exp $ */ /* @@ -41,7 +41,6 @@ * ASB-3940U3W-00 - Bus-Master PCI Ultra3-Wide (253 CDB) */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/malloc.h> diff --git a/sys/dev/pci/auixp.c b/sys/dev/pci/auixp.c index a45aa7f8144..b0bf480baeb 100644 --- a/sys/dev/pci/auixp.c +++ b/sys/dev/pci/auixp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auixp.c,v 1.38 2016/09/19 06:46:44 ratchov Exp $ */ +/* $OpenBSD: auixp.c,v 1.39 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: auixp.c,v 1.9 2005/06/27 21:13:09 thorpej Exp $ */ /* @@ -50,9 +50,8 @@ /*#define DEBUG_AUIXP*/ -#include <sys/types.h> -#include <sys/errno.h> #include <sys/param.h> +#include <sys/errno.h> #include <sys/systm.h> #include <sys/malloc.h> #include <sys/device.h> diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index 79b29986add..0ef837158fe 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.236 2017/08/10 15:25:52 tb Exp $ */ +/* $OpenBSD: azalia.c,v 1.237 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -46,7 +46,6 @@ #include <sys/device.h> #include <sys/malloc.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/timeout.h> #include <dev/audio_if.h> #include <dev/pci/pcidevs.h> diff --git a/sys/dev/pci/berkwdt.c b/sys/dev/pci/berkwdt.c index 250f3973575..0e6c3c582b5 100644 --- a/sys/dev/pci/berkwdt.c +++ b/sys/dev/pci/berkwdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: berkwdt.c,v 1.8 2014/12/10 12:27:57 mikeb Exp $ */ +/* $OpenBSD: berkwdt.c,v 1.9 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2009 Wim Van Sebroeck <wim@iguana.be> @@ -21,7 +21,6 @@ * http://www.pcwatchdog.com/ */ -#include <sys/types.h> #include <sys/param.h> #include <sys/device.h> #include <sys/kernel.h> diff --git a/sys/dev/pci/emuxki.c b/sys/dev/pci/emuxki.c index 72582ef38ba..c49dddd9336 100644 --- a/sys/dev/pci/emuxki.c +++ b/sys/dev/pci/emuxki.c @@ -1,4 +1,4 @@ -/* $OpenBSD: emuxki.c,v 1.51 2016/09/19 06:46:44 ratchov Exp $ */ +/* $OpenBSD: emuxki.c,v 1.52 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: emuxki.c,v 1.1 2001/10/17 18:39:41 jdolecek Exp $ */ /*- @@ -49,13 +49,12 @@ * - DSP FX patches (to make fx like chipmunk) */ -#include <sys/types.h> +#include <sys/param.h> #include <sys/device.h> #include <sys/errno.h> #include <sys/fcntl.h> #include <sys/malloc.h> #include <sys/systm.h> -#include <sys/param.h> #include <sys/audioio.h> #include <dev/pci/pcireg.h> diff --git a/sys/dev/pci/esa.c b/sys/dev/pci/esa.c index ff66e5a560d..9ee7837269e 100644 --- a/sys/dev/pci/esa.c +++ b/sys/dev/pci/esa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esa.c,v 1.32 2016/12/12 06:47:22 ratchov Exp $ */ +/* $OpenBSD: esa.c,v 1.33 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: esa.c,v 1.12 2002/03/24 14:17:35 jmcneill Exp $ */ /* @@ -43,7 +43,6 @@ * driver. */ -#include <sys/types.h> #include <sys/errno.h> #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/dev/pci/i82365_pci.c b/sys/dev/pci/i82365_pci.c index e1e4aab8a08..b8aaf967931 100644 --- a/sys/dev/pci/i82365_pci.c +++ b/sys/dev/pci/i82365_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365_pci.c,v 1.11 2010/09/07 16:21:44 deraadt Exp $ */ +/* $OpenBSD: i82365_pci.c,v 1.12 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: i82365_pci.c,v 1.11 2000/02/24 03:42:44 itohy Exp $ */ /* @@ -34,7 +34,6 @@ * XXX this driver frontend is *very* i386 dependent and should be relocated */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/pci/if_age.c b/sys/dev/pci/if_age.c index 3ba504fa5fd..bedcb8ce282 100644 --- a/sys/dev/pci/if_age.c +++ b/sys/dev/pci/if_age.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_age.c,v 1.34 2017/01/22 10:17:38 dlg Exp $ */ +/* $OpenBSD: if_age.c,v 1.35 2017/09/08 05:36:52 deraadt Exp $ */ /*- * Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org> @@ -35,7 +35,6 @@ #include <sys/param.h> #include <sys/endian.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/sockio.h> #include <sys/mbuf.h> #include <sys/queue.h> diff --git a/sys/dev/pci/if_alc.c b/sys/dev/pci/if_alc.c index f3651cd5d29..7b5e628efe1 100644 --- a/sys/dev/pci/if_alc.c +++ b/sys/dev/pci/if_alc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_alc.c,v 1.41 2017/01/22 10:17:38 dlg Exp $ */ +/* $OpenBSD: if_alc.c,v 1.42 2017/09/08 05:36:52 deraadt Exp $ */ /*- * Copyright (c) 2009, Pyun YongHyeon <yongari@FreeBSD.org> * All rights reserved. @@ -34,7 +34,6 @@ #include <sys/param.h> #include <sys/endian.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/sockio.h> #include <sys/mbuf.h> #include <sys/queue.h> diff --git a/sys/dev/pci/if_ale.c b/sys/dev/pci/if_ale.c index 5f4743cb53b..8b920166646 100644 --- a/sys/dev/pci/if_ale.c +++ b/sys/dev/pci/if_ale.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ale.c,v 1.45 2017/01/22 10:17:38 dlg Exp $ */ +/* $OpenBSD: if_ale.c,v 1.46 2017/09/08 05:36:52 deraadt Exp $ */ /*- * Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org> * All rights reserved. @@ -36,7 +36,6 @@ #include <sys/param.h> #include <sys/endian.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/sockio.h> #include <sys/mbuf.h> #include <sys/queue.h> diff --git a/sys/dev/pci/if_et.c b/sys/dev/pci/if_et.c index 9abe09ad806..ee388194231 100644 --- a/sys/dev/pci/if_et.c +++ b/sys/dev/pci/if_et.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_et.c,v 1.36 2017/07/19 12:25:34 claudio Exp $ */ +/* $OpenBSD: if_et.c,v 1.37 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2007 The DragonFly Project. All rights reserved. * @@ -40,7 +40,6 @@ #include <sys/param.h> #include <sys/endian.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/sockio.h> #include <sys/mbuf.h> #include <sys/queue.h> diff --git a/sys/dev/pci/if_jme.c b/sys/dev/pci/if_jme.c index f4db392702a..0802298e04d 100644 --- a/sys/dev/pci/if_jme.c +++ b/sys/dev/pci/if_jme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_jme.c,v 1.49 2017/01/22 10:17:38 dlg Exp $ */ +/* $OpenBSD: if_jme.c,v 1.50 2017/09/08 05:36:52 deraadt Exp $ */ /*- * Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org> * All rights reserved. @@ -35,7 +35,6 @@ #include <sys/param.h> #include <sys/endian.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/sockio.h> #include <sys/mbuf.h> #include <sys/queue.h> diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c index 1a7978f9e88..4256075559b 100644 --- a/sys/dev/pci/if_nfe.c +++ b/sys/dev/pci/if_nfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nfe.c,v 1.119 2017/01/22 10:17:38 dlg Exp $ */ +/* $OpenBSD: if_nfe.c,v 1.120 2017/09/08 05:36:52 deraadt Exp $ */ /*- * Copyright (c) 2006, 2007 Damien Bergamini <damien.bergamini@free.fr> @@ -25,7 +25,6 @@ #include <sys/param.h> #include <sys/endian.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/sockio.h> #include <sys/mbuf.h> #include <sys/queue.h> diff --git a/sys/dev/pci/if_vte.c b/sys/dev/pci/if_vte.c index 1e50364ef22..a02e59b9ccb 100644 --- a/sys/dev/pci/if_vte.c +++ b/sys/dev/pci/if_vte.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vte.c,v 1.20 2017/07/19 07:02:52 claudio Exp $ */ +/* $OpenBSD: if_vte.c,v 1.21 2017/09/08 05:36:52 deraadt Exp $ */ /*- * Copyright (c) 2010, Pyun YongHyeon <yongari@FreeBSD.org> * All rights reserved. @@ -33,7 +33,6 @@ #include <sys/param.h> #include <sys/endian.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/sockio.h> #include <sys/mbuf.h> #include <sys/queue.h> diff --git a/sys/dev/pci/mbg.c b/sys/dev/pci/mbg.c index de7dfdd88f9..4d9c8dace48 100644 --- a/sys/dev/pci/mbg.c +++ b/sys/dev/pci/mbg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mbg.c,v 1.29 2010/04/08 00:23:53 tedu Exp $ */ +/* $OpenBSD: mbg.c,v 1.30 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2006, 2007 Marc Balmer <mbalmer@openbsd.org> @@ -16,7 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/device.h> #include <sys/kernel.h> diff --git a/sys/dev/pci/mfii.c b/sys/dev/pci/mfii.c index 95e9e69bf39..4911f374c4d 100644 --- a/sys/dev/pci/mfii.c +++ b/sys/dev/pci/mfii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfii.c,v 1.43 2017/04/08 02:57:25 deraadt Exp $ */ +/* $OpenBSD: mfii.c,v 1.44 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2012 David Gwynne <dlg@openbsd.org> @@ -22,7 +22,6 @@ #include <sys/systm.h> #include <sys/malloc.h> #include <sys/device.h> -#include <sys/types.h> #include <sys/pool.h> #include <sys/task.h> #include <sys/atomic.h> diff --git a/sys/dev/pci/pccbb.c b/sys/dev/pci/pccbb.c index 0fad698304b..e81db231385 100644 --- a/sys/dev/pci/pccbb.c +++ b/sys/dev/pci/pccbb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pccbb.c,v 1.96 2015/09/11 09:15:44 deraadt Exp $ */ +/* $OpenBSD: pccbb.c,v 1.97 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: pccbb.c,v 1.96 2004/03/28 09:49:31 nakayama Exp $ */ /* @@ -38,7 +38,6 @@ #define LEVEL2 */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/pci/pwdog.c b/sys/dev/pci/pwdog.c index b3f48e06e30..444810e122d 100644 --- a/sys/dev/pci/pwdog.c +++ b/sys/dev/pci/pwdog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pwdog.c,v 1.9 2014/12/10 12:27:57 mikeb Exp $ */ +/* $OpenBSD: pwdog.c,v 1.10 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2006 Marc Balmer <mbalmer@openbsd.org> @@ -16,7 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/device.h> #include <sys/kernel.h> diff --git a/sys/dev/pci/wdt.c b/sys/dev/pci/wdt.c index 874864bc18b..df89f4d24c4 100644 --- a/sys/dev/pci/wdt.c +++ b/sys/dev/pci/wdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdt.c,v 1.22 2014/12/10 12:27:57 mikeb Exp $ */ +/* $OpenBSD: wdt.c,v 1.23 2017/09/08 05:36:52 deraadt Exp $ */ /*- * Copyright (c) 1998,1999 Alex Nash @@ -27,7 +27,6 @@ * */ -#include <sys/types.h> #include <sys/param.h> #include <sys/device.h> #include <sys/kernel.h> diff --git a/sys/dev/pcmcia/com_pcmcia.c b/sys/dev/pcmcia/com_pcmcia.c index 86d93195c69..e56a5251ed5 100644 --- a/sys/dev/pcmcia/com_pcmcia.c +++ b/sys/dev/pcmcia/com_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_pcmcia.c,v 1.55 2015/03/14 03:38:49 jsg Exp $ */ +/* $OpenBSD: com_pcmcia.c,v 1.56 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: com_pcmcia.c,v 1.15 1998/08/22 17:47:58 msaitoh Exp $ */ /* @@ -98,7 +98,6 @@ #include <sys/uio.h> #include <sys/kernel.h> #include <sys/syslog.h> -#include <sys/types.h> #include <sys/device.h> #include <machine/intr.h> diff --git a/sys/dev/pcmcia/pcmcia.c b/sys/dev/pcmcia/pcmcia.c index 85b7401b6b9..c0f6fe1c8ca 100644 --- a/sys/dev/pcmcia/pcmcia.c +++ b/sys/dev/pcmcia/pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcmcia.c,v 1.47 2016/06/06 07:09:44 mpi Exp $ */ +/* $OpenBSD: pcmcia.c,v 1.48 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: pcmcia.c,v 1.9 1998/08/13 02:10:55 eeh Exp $ */ /* @@ -30,7 +30,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/pcmcia/pcmcia_cis.c b/sys/dev/pcmcia/pcmcia_cis.c index 86677f8119b..7baf0ff7dc1 100644 --- a/sys/dev/pcmcia/pcmcia_cis.c +++ b/sys/dev/pcmcia/pcmcia_cis.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcmcia_cis.c,v 1.20 2014/07/12 18:48:52 tedu Exp $ */ +/* $OpenBSD: pcmcia_cis.c,v 1.21 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: pcmcia_cis.c,v 1.9 1998/08/22 23:41:48 msaitoh Exp $ */ /* @@ -30,7 +30,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/pcmcia/pcmcia_cis_quirks.c b/sys/dev/pcmcia/pcmcia_cis_quirks.c index 62f8535a39d..1d8961e9a7d 100644 --- a/sys/dev/pcmcia/pcmcia_cis_quirks.c +++ b/sys/dev/pcmcia/pcmcia_cis_quirks.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcmcia_cis_quirks.c,v 1.13 2017/08/24 04:06:05 jsg Exp $ */ +/* $OpenBSD: pcmcia_cis_quirks.c,v 1.14 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: pcmcia_cis_quirks.c,v 1.3 1998/12/29 09:00:28 marc Exp $ */ /* @@ -30,7 +30,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/malloc.h> diff --git a/sys/dev/puc/lpt_puc.c b/sys/dev/puc/lpt_puc.c index 6301c1825c8..c53315a92ca 100644 --- a/sys/dev/puc/lpt_puc.c +++ b/sys/dev/puc/lpt_puc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lpt_puc.c,v 1.8 2015/03/14 03:38:49 jsg Exp $ */ +/* $OpenBSD: lpt_puc.c,v 1.9 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: lpt_puc.c,v 1.1 1998/06/26 18:52:41 cgd Exp $ */ /* @@ -38,7 +38,6 @@ * Author: Christopher G. Demetriou, May 17, 1998. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/pv/vioscsi.c b/sys/dev/pv/vioscsi.c index cdd2a5ea3b2..a7ccd8913b3 100644 --- a/sys/dev/pv/vioscsi.c +++ b/sys/dev/pv/vioscsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vioscsi.c,v 1.11 2017/05/30 19:28:09 sf Exp $ */ +/* $OpenBSD: vioscsi.c,v 1.12 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2013 Google Inc. * @@ -16,7 +16,6 @@ */ #include <sys/param.h> -#include <sys/types.h> #include <sys/systm.h> #include <sys/device.h> #include <sys/mutex.h> diff --git a/sys/dev/pv/virtiovar.h b/sys/dev/pv/virtiovar.h index 4b1f71c7e37..0c7f2e482ca 100644 --- a/sys/dev/pv/virtiovar.h +++ b/sys/dev/pv/virtiovar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: virtiovar.h,v 1.6 2017/06/03 08:50:38 sf Exp $ */ +/* $OpenBSD: virtiovar.h,v 1.7 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: virtiovar.h,v 1.1 2011/10/30 12:12:21 hannken Exp $ */ /* @@ -67,9 +67,8 @@ #ifndef _DEV_PCI_VIRTIOVAR_H_ #define _DEV_PCI_VIRTIOVAR_H_ -#include <sys/types.h> -#include <sys/queue.h> #include <sys/param.h> +#include <sys/queue.h> #include <sys/device.h> #include <sys/mutex.h> #include <machine/bus.h> diff --git a/sys/dev/sbus/apio.c b/sys/dev/sbus/apio.c index ac7934169ca..2d7f38f8eab 100644 --- a/sys/dev/sbus/apio.c +++ b/sys/dev/sbus/apio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apio.c,v 1.7 2003/06/27 01:50:52 jason Exp $ */ +/* $OpenBSD: apio.c,v 1.8 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -35,7 +35,6 @@ * Driver for Aurora 210SJ parallel ports. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/sbus/asio.c b/sys/dev/sbus/asio.c index 7d62ddb55a1..1a71346dbb2 100644 --- a/sys/dev/sbus/asio.c +++ b/sys/dev/sbus/asio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asio.c,v 1.10 2003/06/27 01:50:52 jason Exp $ */ +/* $OpenBSD: asio.c,v 1.11 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -35,7 +35,6 @@ * Driver for Aurora 210SJ serial ports. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/sbus/dma_sbus.c b/sys/dev/sbus/dma_sbus.c index 62ec7f4e16e..03fa7e2d1a3 100644 --- a/sys/dev/sbus/dma_sbus.c +++ b/sys/dev/sbus/dma_sbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dma_sbus.c,v 1.16 2008/06/26 05:42:18 ray Exp $ */ +/* $OpenBSD: dma_sbus.c,v 1.17 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: dma_sbus.c,v 1.5 2000/07/09 20:57:42 pk Exp $ */ /*- @@ -54,7 +54,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/sbus/esp_sbus.c b/sys/dev/sbus/esp_sbus.c index eacbdb15303..ba597b8a061 100644 --- a/sys/dev/sbus/esp_sbus.c +++ b/sys/dev/sbus/esp_sbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esp_sbus.c,v 1.24 2014/01/18 22:33:59 dlg Exp $ */ +/* $OpenBSD: esp_sbus.c,v 1.25 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: esp_sbus.c,v 1.14 2001/04/25 17:53:37 bouyer Exp $ */ /*- @@ -31,7 +31,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> diff --git a/sys/dev/sbus/qec.c b/sys/dev/sbus/qec.c index a777a961e2e..e235ee04a88 100644 --- a/sys/dev/sbus/qec.c +++ b/sys/dev/sbus/qec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qec.c,v 1.13 2008/06/26 05:42:18 ray Exp $ */ +/* $OpenBSD: qec.c,v 1.14 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: qec.c,v 1.12 2000/12/04 20:12:55 fvdl Exp $ */ /*- @@ -30,7 +30,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/sbus/uperf_sbus.c b/sys/dev/sbus/uperf_sbus.c index ad219a3b30c..125902d19b0 100644 --- a/sys/dev/sbus/uperf_sbus.c +++ b/sys/dev/sbus/uperf_sbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uperf_sbus.c,v 1.8 2008/12/15 22:35:06 kettenis Exp $ */ +/* $OpenBSD: uperf_sbus.c,v 1.9 2017/09/08 05:36:52 deraadt Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -31,7 +31,6 @@ * */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> diff --git a/sys/dev/usb/dwc2/dwc2_core.c b/sys/dev/usb/dwc2/dwc2_core.c index 87ffe9207d6..04cbc87b61a 100644 --- a/sys/dev/usb/dwc2/dwc2_core.c +++ b/sys/dev/usb/dwc2/dwc2_core.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwc2_core.c,v 1.8 2017/06/29 17:36:16 deraadt Exp $ */ +/* $OpenBSD: dwc2_core.c,v 1.9 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: dwc2_core.c,v 1.6 2014/04/03 06:34:58 skrll Exp $ */ /* @@ -45,7 +45,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/signal.h> #include <sys/proc.h> #include <sys/timeout.h> diff --git a/sys/dev/usb/dwc2/dwc2_hcd.c b/sys/dev/usb/dwc2/dwc2_hcd.c index 1264bfe8d6c..7e5c91481d5 100644 --- a/sys/dev/usb/dwc2/dwc2_hcd.c +++ b/sys/dev/usb/dwc2/dwc2_hcd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwc2_hcd.c,v 1.19 2017/06/29 17:36:16 deraadt Exp $ */ +/* $OpenBSD: dwc2_hcd.c,v 1.20 2017/09/08 05:36:53 deraadt Exp $ */ /* $NetBSD: dwc2_hcd.c,v 1.15 2014/11/24 10:14:14 skrll Exp $ */ /* @@ -44,7 +44,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/malloc.h> #include <sys/signal.h> #include <sys/proc.h> diff --git a/sys/dev/usb/dwc2/dwc2_hcdddma.c b/sys/dev/usb/dwc2/dwc2_hcdddma.c index 09d8de19aa7..d8584eed50d 100644 --- a/sys/dev/usb/dwc2/dwc2_hcdddma.c +++ b/sys/dev/usb/dwc2/dwc2_hcdddma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwc2_hcdddma.c,v 1.13 2017/06/29 17:36:16 deraadt Exp $ */ +/* $OpenBSD: dwc2_hcdddma.c,v 1.14 2017/09/08 05:36:53 deraadt Exp $ */ /* $NetBSD: dwc2_hcdddma.c,v 1.6 2014/04/03 06:34:58 skrll Exp $ */ /* @@ -43,7 +43,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/kernel.h> #include <sys/malloc.h> #if 0 diff --git a/sys/dev/usb/dwc2/dwc2_hcdintr.c b/sys/dev/usb/dwc2/dwc2_hcdintr.c index 98855cdb019..49e020a6cc2 100644 --- a/sys/dev/usb/dwc2/dwc2_hcdintr.c +++ b/sys/dev/usb/dwc2/dwc2_hcdintr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwc2_hcdintr.c,v 1.9 2017/06/29 17:36:16 deraadt Exp $ */ +/* $OpenBSD: dwc2_hcdintr.c,v 1.10 2017/09/08 05:36:53 deraadt Exp $ */ /* $NetBSD: dwc2_hcdintr.c,v 1.11 2014/11/24 10:14:14 skrll Exp $ */ /* @@ -43,7 +43,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/pool.h> #include <machine/bus.h> diff --git a/sys/dev/usb/dwc2/dwc2_hcdqueue.c b/sys/dev/usb/dwc2/dwc2_hcdqueue.c index bbecd3d50f2..94452e88e06 100644 --- a/sys/dev/usb/dwc2/dwc2_hcdqueue.c +++ b/sys/dev/usb/dwc2/dwc2_hcdqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwc2_hcdqueue.c,v 1.8 2017/06/29 17:36:16 deraadt Exp $ */ +/* $OpenBSD: dwc2_hcdqueue.c,v 1.9 2017/09/08 05:36:53 deraadt Exp $ */ /* $NetBSD: dwc2_hcdqueue.c,v 1.11 2014/09/03 10:00:08 skrll Exp $ */ /* @@ -44,7 +44,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/types.h> #include <sys/malloc.h> #include <sys/pool.h> diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c index f23450b7126..9a6befb293d 100644 --- a/sys/dev/usb/ulpt.c +++ b/sys/dev/usb/ulpt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ulpt.c,v 1.54 2017/03/26 15:31:15 deraadt Exp $ */ +/* $OpenBSD: ulpt.c,v 1.55 2017/09/08 05:36:52 deraadt Exp $ */ /* $NetBSD: ulpt.c,v 1.57 2003/01/05 10:19:42 scw Exp $ */ /* $FreeBSD: src/sys/dev/usb/ulpt.c,v 1.24 1999/11/17 22:33:44 n_hibma Exp $ */ @@ -44,7 +44,6 @@ #include <sys/conf.h> #include <sys/vnode.h> #include <sys/syslog.h> -#include <sys/types.h> #include <sys/malloc.h> #include <dev/usb/usb.h> diff --git a/sys/dev/videomode/vesagtf.c b/sys/dev/videomode/vesagtf.c index d60de2c0e58..bb4838e3c7b 100644 --- a/sys/dev/videomode/vesagtf.c +++ b/sys/dev/videomode/vesagtf.c @@ -151,18 +151,16 @@ #ifdef _KERNEL -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <dev/videomode/videomode.h> #include <dev/videomode/vesagtf.h> #else -#include <stdio.h> -#include <stdlib.h> #include <sys/types.h> #include "videomode.h" #include "vesagtf.h" - +#include <stdio.h> +#include <stdlib.h> void print_xf86_mode(struct videomode *m); #endif diff --git a/sys/dev/wscons/wskbdutil.c b/sys/dev/wscons/wskbdutil.c index c4412a78f2f..f1d108fca1d 100644 --- a/sys/dev/wscons/wskbdutil.c +++ b/sys/dev/wscons/wskbdutil.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wskbdutil.c,v 1.15 2016/08/31 11:05:48 jca Exp $ */ +/* $OpenBSD: wskbdutil.c,v 1.16 2017/09/08 05:36:53 deraadt Exp $ */ /* $NetBSD: wskbdutil.c,v 1.7 1999/12/21 11:59:13 drochner Exp $ */ /*- @@ -31,7 +31,6 @@ */ #include <sys/param.h> -#include <sys/types.h> #include <sys/errno.h> #include <sys/systm.h> #include <sys/malloc.h> diff --git a/sys/dev/wsfont/wsfont.c b/sys/dev/wsfont/wsfont.c index 052440619a1..c4435690231 100644 --- a/sys/dev/wsfont/wsfont.c +++ b/sys/dev/wsfont/wsfont.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsfont.c,v 1.51 2017/08/18 21:30:01 deraadt Exp $ */ +/* $OpenBSD: wsfont.c,v 1.52 2017/09/08 05:36:53 deraadt Exp $ */ /* $NetBSD: wsfont.c,v 1.17 2001/02/07 13:59:24 ad Exp $ */ /*- @@ -30,7 +30,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> #include <sys/time.h> |