hw: Clean up includes
PATCH 1/1 hw: Clean up includes
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 <[email protected]>
--- 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(-)
hw/intc/aspeed_vic.c +0 -1
@@ -28,7 +28,6 @@*/ #include "qemu/osdep.h" -#include <inttypes.h> #include "hw/intc/aspeed_vic.h" #include "qemu/bitops.h" #include "qemu/log.h"
hw/timer/mc146818rtc.c +0 -1
@@ -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"
include/exec/hwaddr.h +0 -1
@@ -3,7 +3,6 @@#ifndef HWADDR_H #define HWADDR_H -#include <inttypes.h> #define HWADDR_BITS 64/* hwaddr is the type of a physical address (its size can
include/qemu/fifo32.h +0 -1
@@ -15,7 +15,6 @@ #ifndef FIFO32_H #define FIFO32_H -#include "qemu/osdep.h" #include "qemu/fifo8.h" typedef struct {
Signature · 1 line
1.9.1
Quoted 5 lines · Peter Maydell
Clean up includes so that
osdep.his included first and headers which it implies are not included manually.This commit was created with
scripts/clean-includes.
Quoted 8 lines
Signed-off-by Peter Maydell <[email protected]>--- 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(-)
Reviewed-by Eric Blake <[email protected]>
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Aplied to -trivial, thanks!
/mjt