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] --- target/sh4/cpu.c | 1 - target/sh4/cpu.h | 1 - target/sh4/gdbstub.c | 1 - 3 files changed, 3 deletions(-) (limited to 'target/sh4') diff --git a/target/sh4/cpu.c b/target/sh4/cpu.c index dfca03f266..816d6d7f31 100644 --- a/target/sh4/cpu.c +++ b/target/sh4/cpu.c @@ -23,7 +23,6 @@ #include "qapi/error.h" #include "qemu/qemu-print.h" #include "cpu.h" -#include "qemu-common.h" #include "migration/vmstate.h" #include "exec/exec-all.h" #include "fpu/softfloat.h" diff --git a/target/sh4/cpu.h b/target/sh4/cpu.h index 08cf275f79..aee733eaaa 100644 --- a/target/sh4/cpu.h +++ b/target/sh4/cpu.h @@ -20,7 +20,6 @@ #ifndef SH4_CPU_H #define SH4_CPU_H -#include "qemu-common.h" #include "cpu-qom.h" #include "exec/cpu-defs.h" diff --git a/target/sh4/gdbstub.c b/target/sh4/gdbstub.c index 54568e96f9..44c1679e9d 100644 --- a/target/sh4/gdbstub.c +++ b/target/sh4/gdbstub.c @@ -18,7 +18,6 @@ * License along with this library; if not, see . */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "cpu.h" #include "exec/gdbstub.h" -- cgit v1.2.3