ui/console: Remove QemuDmaBuf from "qemu/typedefs.h"

Files requiring QemuDmaBuf already include "ui/console.h".

To clean "qemu/typedefs.h", move the declaration to "ui/console.h"
(removing the forward declaration).

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Philippe Mathieu-Daudé 2019-01-11 15:08:55 +01:00 committed by Thomas Huth
parent fd5283fb4b
commit dfbb251e9f
2 changed files with 2 additions and 3 deletions

View File

@ -82,7 +82,6 @@ typedef struct QBool QBool;
typedef struct QDict QDict; typedef struct QDict QDict;
typedef struct QEMUBH QEMUBH; typedef struct QEMUBH QEMUBH;
typedef struct QemuConsole QemuConsole; typedef struct QemuConsole QemuConsole;
typedef struct QemuDmaBuf QemuDmaBuf;
typedef struct QEMUFile QEMUFile; typedef struct QEMUFile QEMUFile;
typedef struct QemuLockable QemuLockable; typedef struct QemuLockable QemuLockable;
typedef struct QemuMutex QemuMutex; typedef struct QemuMutex QemuMutex;

View File

@ -179,7 +179,7 @@ struct QEMUGLParams {
int minor_ver; int minor_ver;
}; };
struct QemuDmaBuf { typedef struct QemuDmaBuf {
int fd; int fd;
uint32_t width; uint32_t width;
uint32_t height; uint32_t height;
@ -187,7 +187,7 @@ struct QemuDmaBuf {
uint32_t fourcc; uint32_t fourcc;
uint32_t texture; uint32_t texture;
bool y0_top; bool y0_top;
}; } QemuDmaBuf;
typedef struct DisplayChangeListenerOps { typedef struct DisplayChangeListenerOps {
const char *dpy_name; const char *dpy_name;