Skip to contentSkip to conversation

clean-includes: run it once more

PATCH In review Paolo Bonzini 2 participants 3 messages Jun 6, 2016 Arm/Aspeed machine support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clean-includes: run it once more

---
 hw/intc/aspeed_vic.c   | 1 -
 hw/net/net_tx_pkt.c    | 1 +
 hw/net/net_tx_pkt.h    | 1 -
 hw/timer/mc146818rtc.c | 1 -
 hw/usb/xen-usb.c       | 5 +----
 include/exec/hwaddr.h  | 2 --
 include/hw/xen/xen.h   | 1 -
 include/qemu/fifo32.h  | 1 -
 replay/replay-char.c   | 4 ----
 9 files changed, 2 insertions(+), 15 deletions(-)
hw/intc/aspeed_vic.c +0 -1
index 725d5b6..2370e74 100644
@@ -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/net/net_tx_pkt.c +1 -0
index e4478be..efd43b4 100644
@@ -15,6 +15,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "net_tx_pkt.h"
 #include "net/eth.h"
 #include "net/checksum.h"
hw/net/net_tx_pkt.h +0 -1
index 07b9a20..212ecc6 100644
@@ -18,7 +18,6 @@
 #ifndef NET_TX_PKT_H
 #define NET_TX_PKT_H
 
-#include "qemu/osdep.h"
 #include "net/eth.h"
 #include "exec/hwaddr.h"
 
hw/timer/mc146818rtc.c +0 -1
index 2ac0fd3..a11b8b4 100644
@@ -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"
hw/usb/xen-usb.c +1 -4
index 09e9656..0fd34c6 100644
@@ -19,12 +19,9 @@
  *  GNU GPL, version 2 or (at your option) any later version.
  */
 
+#include "qemu/osdep.h"
 #include <libusb.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/time.h>
 
-#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "qemu/config-file.h"
 #include "hw/sysbus.h"
include/exec/hwaddr.h +0 -2
index bb41588..c9eb78f 100644
@@ -3,8 +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
    be different from 'target_ulong').  */
include/hw/xen/xen.h +0 -1
index 6365483..b2cd992 100644
@@ -8,7 +8,6 @@
  */
 
 #include "qemu-common.h"
-#include "qemu/typedefs.h"
 #include "exec/cpu-common.h"
 #include "hw/irq.h"
 
include/qemu/fifo32.h +0 -1
index 2e5a0cc..4e9fd1b 100644
@@ -15,7 +15,6 @@
 #ifndef FIFO32_H
 #define FIFO32_H
 
-#include "qemu/osdep.h"
 #include "qemu/fifo8.h"
 
 typedef struct {
replay/replay-char.c +0 -4
index 23b6922..edf46ab 100755
@@ -9,10 +9,6 @@
  *
  */
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
 #include "qemu/osdep.h"
 #include "qemu/error-report.h"
 #include "sysemu/replay.h"
Signature · 1 line
2.5.5
#1 lore raw
Quoted 12 lines · Paolo Bonzini
---
 hw/intc/aspeed_vic.c   | 1 -
 hw/net/net_tx_pkt.c    | 1 +
 hw/net/net_tx_pkt.h    | 1 -
 hw/timer/mc146818rtc.c | 1 -
 hw/usb/xen-usb.c       | 5 +----
 include/exec/hwaddr.h  | 2 --
 include/hw/xen/xen.h   | 1 -
 include/qemu/fifo32.h  | 1 -
 replay/replay-char.c   | 4 ----
 9 files changed, 2 insertions(+), 15 deletions(-)

I think most or all of these are already fixed in patches in the qemu-trivial queue (which aren't in master yet because of a bounced pullreq for some other failure).

thanks
-- PMM

#2 lore raw
Quoted 12 lines · Peter Maydell
Quoted 4 lines
Quoted 4 lines
---
 hw/intc/aspeed_vic.c   | 1 -
 hw/net/net_tx_pkt.c    | 1 +
Quoted 8 lines
Quoted 8 lines
 hw/net/net_tx_pkt.h    | 1 -
 hw/timer/mc146818rtc.c | 1 -
 hw/usb/xen-usb.c       | 5 +----
 include/exec/hwaddr.h  | 2 --
 include/hw/xen/xen.h   | 1 -
 include/qemu/fifo32.h  | 1 -
 replay/replay-char.c   | 4 ----
 9 files changed, 2 insertions(+), 15 deletions(-)
Quoted 3 lines

I think most or all of these are already fixed in patches in the qemu-trivial queue (which aren't in master yet because of a bounced pullreq for some other failure).

Good, I'm not hurrying this one in so I'll rebase after the qemu- trivial pull request goes in.

Thanks,

Paolo