From a8d2532645cf5ce4f75981f81dfe363efc35d05c Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 23 May 2019 16:35:08 +0200 Subject: Include qemu-common.h exactly where needed No header includes qemu-common.h after this commit, as prescribed by qemu-common.h's file comment. Signed-off-by: Markus Armbruster Message-Id: <20190523143508.25387-5-armbru@redhat.com> [Rebased with conflicts resolved automatically, except for include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and net/tap-bsd.c fixed up] --- include/net/announce.h | 1 - include/net/filter.h | 1 - include/net/queue.h | 1 - include/net/tap.h | 1 - 4 files changed, 4 deletions(-) (limited to 'include/net') diff --git a/include/net/announce.h b/include/net/announce.h index 892d302..04a035f 100644 --- a/include/net/announce.h +++ b/include/net/announce.h @@ -9,7 +9,6 @@ #ifndef QEMU_NET_ANNOUNCE_H #define QEMU_NET_ANNOUNCE_H -#include "qemu-common.h" #include "qapi/qapi-types-net.h" #include "qemu/timer.h" diff --git a/include/net/filter.h b/include/net/filter.h index 49da666..9bc6fa3 100644 --- a/include/net/filter.h +++ b/include/net/filter.h @@ -11,7 +11,6 @@ #include "qapi/qapi-types-net.h" #include "qom/object.h" -#include "qemu-common.h" #include "net/queue.h" #define TYPE_NETFILTER "netfilter" diff --git a/include/net/queue.h b/include/net/queue.h index 5469fdb..c0269bb 100644 --- a/include/net/queue.h +++ b/include/net/queue.h @@ -24,7 +24,6 @@ #ifndef QEMU_NET_QUEUE_H #define QEMU_NET_QUEUE_H -#include "qemu-common.h" typedef struct NetPacket NetPacket; typedef struct NetQueue NetQueue; diff --git a/include/net/tap.h b/include/net/tap.h index ce6f841..5d58551 100644 --- a/include/net/tap.h +++ b/include/net/tap.h @@ -26,7 +26,6 @@ #ifndef QEMU_NET_TAP_H #define QEMU_NET_TAP_H -#include "qemu-common.h" #include "standard-headers/linux/virtio_net.h" int tap_enable(NetClientState *nc); -- cgit v1.1