From adf859c2e9ce6fdd203a303a3cdd1db3582e38b3 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 5 Dec 2013 17:50:47 +1000 Subject: [PATCH] Move libinput, libinput_seat and libinput_device to the top Declare all three before they are used. Signed-off-by: Peter Hutterer --- src/libinput.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libinput.h b/src/libinput.h index 784e81a4..7fa5e522 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -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 */