From fd5525676815c97e2c014c114b8f8a467ea7930a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 6 Jun 2014 09:47:05 +1000 Subject: [PATCH] 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 --- test/litest-synaptics-st.c | 3 ++- test/litest-synaptics.c | 3 ++- test/litest-wacom-touch.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) 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);