summaryrefslogtreecommitdiff
path: root/test/litest-synaptics-st.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-06-06 09:47:05 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-06-10 20:54:42 +1000
commitfd5525676815c97e2c014c114b8f8a467ea7930a (patch)
treee019602d945eade895ce8862c0c53e840a8d23d3 /test/litest-synaptics-st.c
parent51d28f215ea05e8a0f18299abaf29bea3bd1c27d (diff)
downloadlibinput-fd5525676815c97e2c014c114b8f8a467ea7930a.tar.gz
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 <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'test/litest-synaptics-st.c')
-rw-r--r--test/litest-synaptics-st.c3
1 files changed, 2 insertions, 1 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);