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:
Peter Hutterer 2013-12-05 17:50:47 +10:00
parent 8999445894
commit adf859c2e9

View file

@ -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
*/