[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 10/16] typedefs: Remove MouseTransformInfo
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-ppc] [PATCH 10/16] typedefs: Remove MouseTransformInfo |
Date: |
Fri, 4 Jan 2019 18:58:41 +0100 |
MouseTransformInfo is only used in "ui/console.h", there is no
need to expose it via "qemu/typedefs.h".
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
include/qemu/typedefs.h | 1 -
include/ui/console.h | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h
index 5d2b2925fb..927b340bb4 100644
--- a/include/qemu/typedefs.h
+++ b/include/qemu/typedefs.h
@@ -56,7 +56,6 @@ typedef struct MigrationIncomingState MigrationIncomingState;
typedef struct MigrationState MigrationState;
typedef struct Monitor Monitor;
typedef struct MonitorDef MonitorDef;
-typedef struct MouseTransformInfo MouseTransformInfo;
typedef struct MSIMessage MSIMessage;
typedef struct NetClientState NetClientState;
typedef struct NetFilterState NetFilterState;
diff --git a/include/ui/console.h b/include/ui/console.h
index c17803c530..28fd76c1c5 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);
--
2.17.2
- Re: [Qemu-ppc] [PATCH 06/16] hw/devices: Move CBus declarations into a new header, (continued)
[Qemu-ppc] [PATCH 09/16] hw/devices: Move TI touchscreen declarations into a new header, Philippe Mathieu-Daudé, 2019/01/04
[Qemu-ppc] [PATCH 10/16] typedefs: Remove MouseTransformInfo,
Philippe Mathieu-Daudé <=
[Qemu-ppc] [PATCH 11/16] typedefs: Remove PS2State, Philippe Mathieu-Daudé, 2019/01/04
[Qemu-ppc] [PATCH 12/16] hw/devices: Move LAN9118 declarations into a new header, Philippe Mathieu-Daudé, 2019/01/04
[Qemu-ppc] [PATCH 13/16] hw/net/ne2000-isa: Add guards to the header, Philippe Mathieu-Daudé, 2019/01/04
[Qemu-ppc] [PATCH 14/16] hw/net/lan9118: Export TYPE_LAN9118 and use it instead of hardcoded string, Philippe Mathieu-Daudé, 2019/01/04
[Qemu-ppc] [PATCH 15/16] hw/devices: Move SMSC 91C111 declaration into a new header, Philippe Mathieu-Daudé, 2019/01/04
[Qemu-ppc] [PATCH 16/16] RFC hw/net/smc91c111: Convert init helper into an inline function, Philippe Mathieu-Daudé, 2019/01/04