hw/input/ps2: Remove PS2State from "qemu/typedefs.h"
PS2State is only used in "hw/input/ps2.h", there is no need to expose it via "qemu/typedefs.h". To clean "qemu/typedefs.h", move the forward declaration to "hw/input/ps2.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
8a547c8dc8
commit
fa9414e969
|
@ -31,6 +31,8 @@
|
||||||
#define PS2_MOUSE_BUTTON_SIDE 0x08
|
#define PS2_MOUSE_BUTTON_SIDE 0x08
|
||||||
#define PS2_MOUSE_BUTTON_EXTRA 0x10
|
#define PS2_MOUSE_BUTTON_EXTRA 0x10
|
||||||
|
|
||||||
|
typedef struct PS2State PS2State;
|
||||||
|
|
||||||
/* ps2.c */
|
/* ps2.c */
|
||||||
void *ps2_kbd_init(void (*update_irq)(void *, int), void *update_arg);
|
void *ps2_kbd_init(void (*update_irq)(void *, int), void *update_arg);
|
||||||
void *ps2_mouse_init(void (*update_irq)(void *, int), void *update_arg);
|
void *ps2_mouse_init(void (*update_irq)(void *, int), void *update_arg);
|
||||||
|
|
|
@ -83,7 +83,6 @@ typedef struct PixelFormat PixelFormat;
|
||||||
typedef struct PostcopyDiscardState PostcopyDiscardState;
|
typedef struct PostcopyDiscardState PostcopyDiscardState;
|
||||||
typedef struct Property Property;
|
typedef struct Property Property;
|
||||||
typedef struct PropertyInfo PropertyInfo;
|
typedef struct PropertyInfo PropertyInfo;
|
||||||
typedef struct PS2State PS2State;
|
|
||||||
typedef struct QBool QBool;
|
typedef struct QBool QBool;
|
||||||
typedef struct QDict QDict;
|
typedef struct QDict QDict;
|
||||||
typedef struct QEMUBH QEMUBH;
|
typedef struct QEMUBH QEMUBH;
|
||||||
|
|
Loading…
Reference in a new issue