hw: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 24 May 2016 15:28:04 +0000 (16:28 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 7 Jun 2016 15:19:23 +0000 (18:19 +0300)
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 <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/intc/aspeed_vic.c
hw/timer/mc146818rtc.c
include/exec/hwaddr.h
include/qemu/fifo32.h

index 725d5b62c5974374f969ff348fdcf51c409567f0..2370e7485fa5e0cd5e006e97dbbd12b387a072bd 100644 (file)
@@ -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"
index 2ac0fd3e489a46d35cc2c5bc8e554a1e7e5d69c8..a11b8b4b212fcb68c5556741a7c32837533a8f3b 100644 (file)
@@ -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"
index bb41588b9df7b2c4a71bcb92ec79b047523f795d..a71c93cc810aa18d5ddefc8d970ddb3b95409ede 100644 (file)
@@ -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
index 2e5a0ccddff0dea2cb50564286b58298d348c32b..4e9fd1b5ef88c06060b7406ae453d0c5fd19324a 100644 (file)
@@ -15,7 +15,6 @@
 #ifndef FIFO32_H
 #define FIFO32_H
 
-#include "qemu/osdep.h"
 #include "qemu/fifo8.h"
 
 typedef struct {