From eb23aac2d7eb652ee88e15b7d32db9f5f6b307b4 Mon Sep 17 00:00:00 2001 From: Philip Guenthe Date: Sat, 26 Jun 2010 23:24:46 +0000 Subject: Don't #include into files that don't need the stuff it defines. In some cases, this means pulling in uvm.h or pcb.h instead, but most of the inclusions were just noise. Tested on alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax, mostly by krw and naddy. ok krw@ --- sys/arch/mvmeppc/dev/cpu.c | 3 +-- sys/arch/mvmeppc/mvmeppc/bus_dma.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/arch/mvmeppc') diff --git a/sys/arch/mvmeppc/dev/cpu.c b/sys/arch/mvmeppc/dev/cpu.c index 66f513f4943..17368b1ce80 100644 --- a/sys/arch/mvmeppc/dev/cpu.c +++ b/sys/arch/mvmeppc/dev/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.8 2004/11/18 16:10:28 miod Exp $ */ +/* $OpenBSD: cpu.c,v 1.9 2010/06/26 23:24:44 guenther Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -36,7 +36,6 @@ #include #include #include -#include #include #include diff --git a/sys/arch/mvmeppc/mvmeppc/bus_dma.c b/sys/arch/mvmeppc/mvmeppc/bus_dma.c index 3698b8731c7..85c38e3ac0b 100644 --- a/sys/arch/mvmeppc/mvmeppc/bus_dma.c +++ b/sys/arch/mvmeppc/mvmeppc/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.26 2010/03/29 19:21:58 oga Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.27 2010/06/26 23:24:44 guenther Exp $ */ /* $NetBSD: bus_dma.c,v 1.2 2001/06/10 02:31:25 briggs Exp $ */ /*- @@ -33,7 +33,6 @@ #include #include -#include #include #include #include -- cgit v1.2.3