summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-08-07 15:28:11 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2018-08-13 13:10:00 +1000
commit1bd7976b0bb99ea332071e2e0bccfb1056a977f8 (patch)
tree5f842e2cf4584d044784d69e8d859c651ca198ed
parent9d06f3476369298420cd58ca9e57675ec4dcf1cc (diff)
touchpad: coding style fixes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev-mt-touchpad-buttons.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c
index 31af5861..675231b0 100644
--- a/src/evdev-mt-touchpad-buttons.c
+++ b/src/evdev-mt-touchpad-buttons.c
@@ -47,7 +47,8 @@
*/
static inline const char*
-button_state_to_str(enum button_state state) {
+button_state_to_str(enum button_state state)
+{
switch(state) {
CASE_RETURN_STRING(BUTTON_STATE_NONE);
CASE_RETURN_STRING(BUTTON_STATE_AREA);
@@ -61,7 +62,8 @@ button_state_to_str(enum button_state state) {
}
static inline const char*
-button_event_to_str(enum button_event event) {
+button_event_to_str(enum button_event event)
+{
switch(event) {
CASE_RETURN_STRING(BUTTON_EVENT_IN_BOTTOM_R);
CASE_RETURN_STRING(BUTTON_EVENT_IN_BOTTOM_M);