mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 11:40:30 +01:00
Move libinput, libinput_seat and libinput_device to the top
Declare all three before they are used. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
8999445894
commit
adf859c2e9
1 changed files with 4 additions and 4 deletions
|
|
@ -83,6 +83,10 @@ enum libinput_event_type {
|
|||
LIBINPUT_EVENT_TOUCH_TOUCH = 500,
|
||||
};
|
||||
|
||||
struct libinput;
|
||||
struct libinput_device;
|
||||
struct libinput_seat;
|
||||
|
||||
union libinput_event_target {
|
||||
struct libinput *libinput;
|
||||
struct libinput_seat *seat;
|
||||
|
|
@ -182,10 +186,6 @@ struct libinput_interface {
|
|||
void *user_data);
|
||||
};
|
||||
|
||||
struct libinput;
|
||||
struct libinput_device;
|
||||
struct libinput_seat;
|
||||
|
||||
/*
|
||||
* Base
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue