[PATCH libinput 05/26] tablet: fix two coding style issues

Peter Hutterer peter.hutterer at who-t.net
Mon Feb 23 22:21:08 PST 2015


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/evdev-tablet.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/evdev-tablet.c b/src/evdev-tablet.c
index eccbcc9..e994de4 100644
--- a/src/evdev-tablet.c
+++ b/src/evdev-tablet.c
@@ -119,7 +119,8 @@ tablet_update_tool(struct tablet_dispatch *tablet,
 }
 
 static inline double
-normalize_pressure_or_dist(const struct input_absinfo * absinfo) {
+normalize_pressure_or_dist(const struct input_absinfo *absinfo)
+{
 	double range = absinfo->maximum - absinfo->minimum;
 	double value = (absinfo->value - absinfo->minimum) / range;
 
@@ -127,7 +128,8 @@ normalize_pressure_or_dist(const struct input_absinfo * absinfo) {
 }
 
 static inline double
-normalize_tilt(const struct input_absinfo * absinfo) {
+normalize_tilt(const struct input_absinfo *absinfo)
+{
 	double range = absinfo->maximum - absinfo->minimum;
 	double value = (absinfo->value - absinfo->minimum) / range;
 
-- 
2.1.0



More information about the wayland-devel mailing list