diff options
| author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-01-14 14:08:28 +0100 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2019-01-22 05:14:33 +0100 |
| commit | 5a4c2e5905c05391a3374f75de582148394fd195 (patch) | |
| tree | ee259637a4391649368d23f3ef8469db63ea63e7 /include/ui/console.h | |
| parent | 7536587c07da34c7183142df5ef0dada350872b4 (diff) | |
| download | focaccia-qemu-5a4c2e5905c05391a3374f75de582148394fd195.tar.gz focaccia-qemu-5a4c2e5905c05391a3374f75de582148394fd195.zip | |
ui/console: Remove MouseTransformInfo from qemu/typedefs.h
Header files requiring MouseTransformInfo 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> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/ui/console.h')
| -rw-r--r-- | include/ui/console.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ui/console.h b/include/ui/console.h index 0a190370ac..aa9f975544 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -65,13 +65,13 @@ void qemu_remove_led_event_handler(QEMUPutLEDEntry *entry); void kbd_put_ledstate(int ledstate); -struct MouseTransformInfo { +typedef struct MouseTransformInfo { /* Touchscreen resolution */ int x; int y; /* Calibration values as used/generated by tslib */ int a[7]; -}; +} MouseTransformInfo; void hmp_mouse_set(Monitor *mon, const QDict *qdict); |