aboutsummaryrefslogtreecommitdiff
path: root/include/qemu
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-10 12:41:55 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-05-06 14:13:45 +0200
commitef932e21bd83c1beab94b10989bf6e8424a886c2 (patch)
treea658aaee269cc998d0e274386d17bdad7c11078f /include/qemu
parent80f034c5b2040b3cfea978361dfd7d813e3c75d9 (diff)
downloadqemu-ef932e21bd83c1beab94b10989bf6e8424a886c2.zip
qemu-ef932e21bd83c1beab94b10989bf6e8424a886c2.tar.gz
qemu-ef932e21bd83c1beab94b10989bf6e8424a886c2.tar.bz2
user: Forward declare TaskState type definition
Forward declare TaskState in "qemu/typedefs.h" so we can use it in generic headers like "hw/cpu/core.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240428221450.26460-9-philmd@linaro.org>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/typedefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h
index 50c277c..36f2825 100644
--- a/include/qemu/typedefs.h
+++ b/include/qemu/typedefs.h
@@ -134,6 +134,7 @@ typedef struct SHPCDevice SHPCDevice;
typedef struct SSIBus SSIBus;
typedef struct TCGCPUOps TCGCPUOps;
typedef struct TCGHelperInfo TCGHelperInfo;
+typedef struct TaskState TaskState;
typedef struct TranslationBlock TranslationBlock;
typedef struct VirtIODevice VirtIODevice;
typedef struct Visitor Visitor;