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>
This commit is contained in:
Peter Hutterer 2014-06-06 09:47:05 +10:00
parent 51d28f215e
commit fd55256768
3 changed files with 6 additions and 3 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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);