aboutsummaryrefslogtreecommitdiff
path: root/include/ui
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-01-11 15:08:55 +0100
committerThomas Huth <thuth@redhat.com>2019-01-22 05:14:33 +0100
commitdfbb251e9f36b2e2cf2337ba5240cbd59ea35847 (patch)
treed988a3a00c083fc6a6c9323fa9239a1dc4999d57 /include/ui
parentfd5283fb4b929742cbaf3cd1d79977b238f11de6 (diff)
downloadqemu-dfbb251e9f36b2e2cf2337ba5240cbd59ea35847.zip
qemu-dfbb251e9f36b2e2cf2337ba5240cbd59ea35847.tar.gz
qemu-dfbb251e9f36b2e2cf2337ba5240cbd59ea35847.tar.bz2
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>
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/console.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index 853fcf4..c4f497c 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -179,7 +179,7 @@ struct QEMUGLParams {
int minor_ver;
};
-struct QemuDmaBuf {
+typedef struct QemuDmaBuf {
int fd;
uint32_t width;
uint32_t height;
@@ -187,7 +187,7 @@ struct QemuDmaBuf {
uint32_t fourcc;
uint32_t texture;
bool y0_top;
-};
+} QemuDmaBuf;
typedef struct DisplayChangeListenerOps {
const char *dpy_name;