From: Peter Hutterer Date: Thu, 5 Jun 2014 23:47:05 +0000 (+1000) Subject: test: fix compiler warnings for missing prototypes X-Git-Tag: 0.4.0~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd5525676815c97e2c014c114b8f8a467ea7930a;p=platform%2Fupstream%2Flibinput.git test: fix compiler warnings for missing prototypes litest-wacom-touch.c:31:6: warning: no previous prototype for 'litest_wacom_touch_setup' [-Wmissing-prototypes] and similar Signed-off-by: Peter Hutterer Reviewed-by: Hans de Goede --- diff --git a/test/litest-synaptics-st.c b/test/litest-synaptics-st.c index 4e2ee563..e18d2b2c 100644 --- a/test/litest-synaptics-st.c +++ b/test/litest-synaptics-st.c @@ -28,7 +28,8 @@ #include "litest-int.h" #include "libinput-util.h" -void litest_synaptics_touchpad_setup(void) +static void +litest_synaptics_touchpad_setup(void) { struct litest_device *d = litest_create_device(LITEST_SYNAPTICS_TOUCHPAD); litest_set_current_device(d); diff --git a/test/litest-synaptics.c b/test/litest-synaptics.c index efa862b2..e7ebbb63 100644 --- a/test/litest-synaptics.c +++ b/test/litest-synaptics.c @@ -28,7 +28,8 @@ #include "litest-int.h" #include "libinput-util.h" -void litest_synaptics_clickpad_setup(void) +static void +litest_synaptics_clickpad_setup(void) { struct litest_device *d = litest_create_device(LITEST_SYNAPTICS_CLICKPAD); litest_set_current_device(d); diff --git a/test/litest-wacom-touch.c b/test/litest-wacom-touch.c index b3118824..a5da17ff 100644 --- a/test/litest-wacom-touch.c +++ b/test/litest-wacom-touch.c @@ -28,7 +28,8 @@ #include "litest-int.h" #include "libinput-util.h" -void litest_wacom_touch_setup(void) +static void +litest_wacom_touch_setup(void) { struct litest_device *d = litest_create_device(LITEST_WACOM_TOUCH); litest_set_current_device(d);