summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorThomas Huth2021-04-16 19:13:13 +0200
committerLaurent Vivier2021-05-02 17:24:51 +0200
commit2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1 (patch)
tree0e81654d30815d42fb6bb95105a7e2f3e6ebc1b1 /plugins
parentDo not include hw/boards.h if it's not really necessary (diff)
downloadqemu-2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1.tar.gz
qemu-2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1.tar.xz
qemu-2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1.zip
Do not include cpu.h if it's not really necessary
Stop including cpu.h in files that don't need it. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210416171314.2074665-4-thuth@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/api.c1
-rw-r--r--plugins/core.c1
-rw-r--r--plugins/loader.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/plugins/api.c b/plugins/api.c
index 218e1342cd..817c9b6b69 100644
--- a/plugins/api.c
+++ b/plugins/api.c
@@ -36,7 +36,6 @@
#include "qemu/osdep.h"
#include "qemu/plugin.h"
-#include "cpu.h"
#include "tcg/tcg.h"
#include "exec/exec-all.h"
#include "exec/ram_addr.h"
diff --git a/plugins/core.c b/plugins/core.c
index 93b595a8d6..55d188af51 100644
--- a/plugins/core.c
+++ b/plugins/core.c
@@ -23,7 +23,6 @@
#include "hw/core/cpu.h"
#include "exec/cpu-common.h"
-#include "cpu.h"
#include "exec/exec-all.h"
#include "exec/helper-proto.h"
#include "tcg/tcg.h"
diff --git a/plugins/loader.c b/plugins/loader.c
index 8550e61184..05df40398d 100644
--- a/plugins/loader.c
+++ b/plugins/loader.c
@@ -27,7 +27,6 @@
#include "qemu/xxhash.h"
#include "qemu/plugin.h"
#include "hw/core/cpu.h"
-#include "cpu.h"
#include "exec/exec-all.h"
#ifndef CONFIG_USER_ONLY
#include "hw/boards.h"