summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-07-22 09:00:27 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-07-22 09:00:45 +1000
commit125e98a1f8909cafbb968ea0c2bd9b21349490bb (patch)
tree4d0cf8b9d1abac643f09eec6fb546eeee865b940
parent5019b25a6bf99f09e6315b3297bede79d5ad3ac2 (diff)
downloadlibinput-125e98a1f8909cafbb968ea0c2bd9b21349490bb.tar.gz
style fix: Remove duplicate empty lines
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev-mt-touchpad.c1
-rw-r--r--src/libinput.c1
-rw-r--r--src/udev-seat.c1
-rw-r--r--test/litest-keyboard.c1
-rw-r--r--test/litest.c3
-rw-r--r--test/path.c4
-rw-r--r--test/touch.c1
-rw-r--r--test/udev.c1
-rw-r--r--tools/event-gui.c1
9 files changed, 0 insertions, 14 deletions
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index b0520c79..67828bda 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -777,7 +777,6 @@ tp_init_palmdetect(struct tp_dispatch *tp,
return 0;
}
-
static int
tp_init(struct tp_dispatch *tp,
struct evdev_device *device)
diff --git a/src/libinput.c b/src/libinput.c
index a278ce49..90b6a137 100644
--- a/src/libinput.c
+++ b/src/libinput.c
@@ -1052,7 +1052,6 @@ touch_notify_frame(struct libinput_device *device,
&touch_event->base);
}
-
static void
libinput_post_event(struct libinput *libinput,
struct libinput_event *event)
diff --git a/src/udev-seat.c b/src/udev-seat.c
index 635fabfd..8d198947 100644
--- a/src/udev-seat.c
+++ b/src/udev-seat.c
@@ -216,7 +216,6 @@ udev_input_remove_devices(struct udev_input *input)
}
}
-
static void
udev_input_disable(struct libinput *libinput)
{
diff --git a/test/litest-keyboard.c b/test/litest-keyboard.c
index c097315e..6a9accd6 100644
--- a/test/litest-keyboard.c
+++ b/test/litest-keyboard.c
@@ -195,7 +195,6 @@ static int events[] = {
-1, -1,
};
-
struct litest_test_device litest_keyboard_device = {
.type = LITEST_KEYBOARD,
.features = LITEST_KEYS,
diff --git a/test/litest.c b/test/litest.c
index 1ffbd53d..4e79f7bc 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -97,7 +97,6 @@ struct litest_test_device* devices[] = {
NULL,
};
-
static struct list all_tests;
static void
@@ -235,7 +234,6 @@ is_debugger_attached(void)
return rc;
}
-
static void
litest_list_tests(struct list *tests)
{
@@ -421,7 +419,6 @@ merge_events(const int *orig, const int *override)
return events;
}
-
static struct litest_device *
litest_create(enum litest_device_type which,
const char *name_override,
diff --git a/test/path.c b/test/path.c
index 99b474eb..b5e222dd 100644
--- a/test/path.c
+++ b/test/path.c
@@ -53,7 +53,6 @@ const struct libinput_interface simple_interface = {
.close_restricted = close_restricted,
};
-
START_TEST(path_create_NULL)
{
struct libinput *li;
@@ -492,7 +491,6 @@ START_TEST(path_add_device_suspend_resume)
ck_assert_int_eq(nevents, 2);
-
libinput_suspend(li);
libinput_dispatch(li);
@@ -576,7 +574,6 @@ START_TEST(path_add_device_suspend_resume_fail)
ck_assert_int_eq(nevents, 2);
-
libinput_suspend(li);
libinput_dispatch(li);
@@ -667,7 +664,6 @@ START_TEST(path_add_device_suspend_resume_remove_device)
ck_assert_int_eq(nevents, 2);
-
libinput_suspend(li);
libinput_dispatch(li);
diff --git a/test/touch.c b/test/touch.c
index 6f6eec0a..fee05f1b 100644
--- a/test/touch.c
+++ b/test/touch.c
@@ -112,7 +112,6 @@ START_TEST(touch_abs_transform)
}
END_TEST
-
START_TEST(touch_many_slots)
{
struct libinput *libinput;
diff --git a/test/udev.c b/test/udev.c
index f07decb6..9a59eb58 100644
--- a/test/udev.c
+++ b/test/udev.c
@@ -47,7 +47,6 @@ const struct libinput_interface simple_interface = {
.close_restricted = close_restricted,
};
-
START_TEST(udev_create_NULL)
{
struct libinput *li;
diff --git a/tools/event-gui.c b/tools/event-gui.c
index 544a6829..3ef30057 100644
--- a/tools/event-gui.c
+++ b/tools/event-gui.c
@@ -431,7 +431,6 @@ parse_opts(int argc, char *argv[])
return 0;
}
-
static int
open_restricted(const char *path, int flags, void *user_data)
{