瀏覽代碼

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>
Paolo Bonzini 1 年之前
父節點
當前提交
da4b248178
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 1 0
      hw/display/vga_int.h
  2. 0 1
      include/qemu/typedefs.h

+ 1 - 0
hw/display/vga_int.h

@@ -25,6 +25,7 @@
 #ifndef HW_VGA_INT_H
 #ifndef HW_VGA_INT_H
 #define HW_VGA_INT_H
 #define HW_VGA_INT_H
 
 
+#include "ui/console.h"
 #include "exec/ioport.h"
 #include "exec/ioport.h"
 #include "exec/memory.h"
 #include "exec/memory.h"
 
 

+ 0 - 1
include/qemu/typedefs.h

@@ -53,7 +53,6 @@ typedef struct Error Error;
 typedef struct EventNotifier EventNotifier;
 typedef struct EventNotifier EventNotifier;
 typedef struct FlatView FlatView;
 typedef struct FlatView FlatView;
 typedef struct FWCfgState FWCfgState;
 typedef struct FWCfgState FWCfgState;
-typedef struct GraphicHwOps GraphicHwOps;
 typedef struct HostMemoryBackend HostMemoryBackend;
 typedef struct HostMemoryBackend HostMemoryBackend;
 typedef struct I2CBus I2CBus;
 typedef struct I2CBus I2CBus;
 typedef struct I2SCodec I2SCodec;
 typedef struct I2SCodec I2SCodec;