From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5EFa-0003NJ-Uf for qemu-devel@nongnu.org; Tue, 24 May 2016 11:28:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5EFZ-0005PG-Tw for qemu-devel@nongnu.org; Tue, 24 May 2016 11:28:06 -0400 Received: from orth.archaic.org.uk ([2001:8b0:1d0::2]:57213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5EFZ-0005Ov-Mj for qemu-devel@nongnu.org; Tue, 24 May 2016 11:28:05 -0400 From: Peter Maydell Date: Tue, 24 May 2016 16:28:04 +0100 Message-Id: <1464103684-27230-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH] hw: Clean up includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org Cc: patches@linaro.org Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell --- hw/intc/aspeed_vic.c | 1 - hw/timer/mc146818rtc.c | 1 - include/exec/hwaddr.h | 1 - include/qemu/fifo32.h | 1 - 4 files changed, 4 deletions(-) diff --git a/hw/intc/aspeed_vic.c b/hw/intc/aspeed_vic.c index 725d5b6..2370e74 100644 --- a/hw/intc/aspeed_vic.c +++ b/hw/intc/aspeed_vic.c @@ -28,7 +28,6 @@ */ #include "qemu/osdep.h" -#include #include "hw/intc/aspeed_vic.h" #include "qemu/bitops.h" #include "qemu/log.h" diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c index 2ac0fd3..a11b8b4 100644 --- a/hw/timer/mc146818rtc.c +++ b/hw/timer/mc146818rtc.c @@ -22,7 +22,6 @@ * THE SOFTWARE. */ #include "qemu/osdep.h" -#include "config-target.h" #include "qemu/cutils.h" #include "qemu/bcd.h" #include "hw/hw.h" diff --git a/include/exec/hwaddr.h b/include/exec/hwaddr.h index bb41588..a71c93c 100644 --- a/include/exec/hwaddr.h +++ b/include/exec/hwaddr.h @@ -3,7 +3,6 @@ #ifndef HWADDR_H #define HWADDR_H -#include #define HWADDR_BITS 64 /* hwaddr is the type of a physical address (its size can diff --git a/include/qemu/fifo32.h b/include/qemu/fifo32.h index 2e5a0cc..4e9fd1b 100644 --- a/include/qemu/fifo32.h +++ b/include/qemu/fifo32.h @@ -15,7 +15,6 @@ #ifndef FIFO32_H #define FIFO32_H -#include "qemu/osdep.h" #include "qemu/fifo8.h" typedef struct { -- 1.9.1