summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-09-08 05:36:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-09-08 05:36:54 +0000
commitd57c7d7b30add2ecd463f68aef3651ef7bca7eb7 (patch)
tree57cbf3ade2a9c95a25842cb657179cb4f8c78a82 /sys/arch/macppc
parent52b7fef1a1e427e7790b90eb2733372c2c8575ba (diff)
If you use sys/param.h, you don't need sys/types.h
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/dev/esp.c3
-rw-r--r--sys/arch/macppc/dev/macgpio.c3
-rw-r--r--sys/arch/macppc/dev/pgs.c3
-rw-r--r--sys/arch/macppc/dev/sysbutton.c3
-rw-r--r--sys/arch/macppc/dev/xlights.c3
-rw-r--r--sys/arch/macppc/macppc/mem.c3
-rw-r--r--sys/arch/macppc/pci/macobio.c3
-rw-r--r--sys/arch/macppc/pci/pchb.c3
8 files changed, 8 insertions, 16 deletions
diff --git a/sys/arch/macppc/dev/esp.c b/sys/arch/macppc/dev/esp.c
index 2d585534133..b52b9bb333b 100644
--- a/sys/arch/macppc/dev/esp.c
+++ b/sys/arch/macppc/dev/esp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: esp.c,v 1.11 2014/01/21 03:42:21 dlg Exp $ */
+/* $OpenBSD: esp.c,v 1.12 2017/09/08 05:36:52 deraadt Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -69,7 +69,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/arch/macppc/dev/macgpio.c b/sys/arch/macppc/dev/macgpio.c
index 75d31b3e610..a1b192bd78a 100644
--- a/sys/arch/macppc/dev/macgpio.c
+++ b/sys/arch/macppc/dev/macgpio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macgpio.c,v 1.8 2015/06/24 11:58:06 mpi Exp $ */
+/* $OpenBSD: macgpio.c,v 1.9 2017/09/08 05:36:52 deraadt Exp $ */
/* $NetBSD: gpio.c,v 1.2 2001/02/27 05:16:33 matt Exp $ */
/*-
@@ -32,7 +32,6 @@
* OF 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/arch/macppc/dev/pgs.c b/sys/arch/macppc/dev/pgs.c
index 62aba5a1cb4..82950d70242 100644
--- a/sys/arch/macppc/dev/pgs.c
+++ b/sys/arch/macppc/dev/pgs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pgs.c,v 1.4 2017/04/30 16:45:45 mpi Exp $ */
+/* $OpenBSD: pgs.c,v 1.5 2017/09/08 05:36:52 deraadt Exp $ */
/*
* Copyright (c) 2010 Jasper Lievisse Adriaanse <jasper@openbsd.org>
*
@@ -20,7 +20,6 @@
* which can be found on many "Old World" and some early "New World" MacPPC.
*/
-#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
diff --git a/sys/arch/macppc/dev/sysbutton.c b/sys/arch/macppc/dev/sysbutton.c
index e982d15d58e..f946738424d 100644
--- a/sys/arch/macppc/dev/sysbutton.c
+++ b/sys/arch/macppc/dev/sysbutton.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysbutton.c,v 1.5 2017/04/30 16:45:45 mpi Exp $ */
+/* $OpenBSD: sysbutton.c,v 1.6 2017/09/08 05:36:52 deraadt Exp $ */
/*
* Copyright (c) 2007 Gordon Willem Klok <gwk@openbsd.org>
*
@@ -15,7 +15,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/proc.h>
diff --git a/sys/arch/macppc/dev/xlights.c b/sys/arch/macppc/dev/xlights.c
index ca2a28ee38d..8ab39f37b7c 100644
--- a/sys/arch/macppc/dev/xlights.c
+++ b/sys/arch/macppc/dev/xlights.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xlights.c,v 1.7 2015/06/24 11:58:06 mpi Exp $ */
+/* $OpenBSD: xlights.c,v 1.8 2017/09/08 05:36:52 deraadt Exp $ */
/*
* Copyright (c) 2007 Gordon Willem Klok <gwk@openbsd,org>
*
@@ -14,7 +14,6 @@
* 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/systm.h>
#include <sys/proc.h>
diff --git a/sys/arch/macppc/macppc/mem.c b/sys/arch/macppc/macppc/mem.c
index 0404d92dad9..e84f574b743 100644
--- a/sys/arch/macppc/macppc/mem.c
+++ b/sys/arch/macppc/macppc/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.24 2016/09/25 15:23:37 deraadt Exp $ */
+/* $OpenBSD: mem.c,v 1.25 2017/09/08 05:36:52 deraadt Exp $ */
/* $NetBSD: mem.c,v 1.1 1996/09/30 16:34:50 ws Exp $ */
/*
@@ -47,7 +47,6 @@
#include <sys/ioccom.h>
#include <sys/uio.h>
#include <sys/malloc.h>
-#include <sys/types.h>
#include <machine/cpu.h>
diff --git a/sys/arch/macppc/pci/macobio.c b/sys/arch/macppc/pci/macobio.c
index 40f9cf3b6dc..b03e7ed5e55 100644
--- a/sys/arch/macppc/pci/macobio.c
+++ b/sys/arch/macppc/pci/macobio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macobio.c,v 1.21 2015/04/02 11:12:24 mpi Exp $ */
+/* $OpenBSD: macobio.c,v 1.22 2017/09/08 05:36:52 deraadt Exp $ */
/* $NetBSD: obio.c,v 1.6 1999/05/01 10:36:08 tsubai Exp $ */
/*-
@@ -32,7 +32,6 @@
* OF 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/arch/macppc/pci/pchb.c b/sys/arch/macppc/pci/pchb.c
index 5a8e9632656..000b5a860c5 100644
--- a/sys/arch/macppc/pci/pchb.c
+++ b/sys/arch/macppc/pci/pchb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pchb.c,v 1.14 2014/03/26 14:41:41 mpi Exp $ */
+/* $OpenBSD: pchb.c,v 1.15 2017/09/08 05:36:52 deraadt Exp $ */
/* $NetBSD: pchb.c,v 1.4 2000/01/25 07:19:11 tsubai 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>