[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 04/67] s390x: drop an unused include

From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH 04/67] s390x: drop an unused include
Date: Thu, 3 May 2018 22:50:26 +0300

we just need a struct name, let's add a forward
declaration instead of an include.

Signed-off-by: Michael S. Tsirkin <address@hidden>
 include/hw/s390x/sclp.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/hw/s390x/sclp.h b/include/hw/s390x/sclp.h
index f9db243..6e65150 100644
--- a/include/hw/s390x/sclp.h
+++ b/include/hw/s390x/sclp.h
@@ -16,7 +16,8 @@
 #include "hw/sysbus.h"
 #include "hw/qdev.h"
-#include "target/s390x/cpu-qom.h"
+typedef struct CPUS390XState CPUS390XState;
 #define SCLP_CMD_CODE_MASK                      0xffff00ff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]