aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-05-02 16:49:46 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-05-03 15:47:48 +0200
commitda4b248178b51b8dff26de5e3c4ea8ea4b53f5d1 (patch)
tree76d7ef20558f78b396d8ca769419ed53c082e096
parent8fb1435c2291e9061024461fac00e1cf54777f44 (diff)
downloadqemu-da4b248178b51b8dff26de5e3c4ea8ea4b53f5d1.zip
qemu-da4b248178b51b8dff26de5e3c4ea8ea4b53f5d1.tar.gz
qemu-da4b248178b51b8dff26de5e3c4ea8ea4b53f5d1.tar.bz2
display: remove GraphicHwOps from typedefs.h
Basically all uses of GraphicHwOps are defining an instance of it, which requires the full definition of the struct. It is pointless to have it in typedefs.h. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--hw/display/vga_int.h1
-rw-r--r--include/qemu/typedefs.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vga_int.h b/hw/display/vga_int.h
index 876a1d3..f77c1c1 100644
--- a/hw/display/vga_int.h
+++ b/hw/display/vga_int.h
@@ -25,6 +25,7 @@
#ifndef HW_VGA_INT_H
#define HW_VGA_INT_H
+#include "ui/console.h"
#include "exec/ioport.h"
#include "exec/memory.h"
diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h
index 78598f2..7e3597e 100644
--- a/include/qemu/typedefs.h
+++ b/include/qemu/typedefs.h
@@ -53,7 +53,6 @@ typedef struct Error Error;
typedef struct EventNotifier EventNotifier;
typedef struct FlatView FlatView;
typedef struct FWCfgState FWCfgState;
-typedef struct GraphicHwOps GraphicHwOps;
typedef struct HostMemoryBackend HostMemoryBackend;
typedef struct I2CBus I2CBus;
typedef struct I2SCodec I2SCodec;