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

Peter Hutterer peter.hutterer at who-t.net
Tue Feb 17 21:45:06 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 0de4bcd..9f55946 100644
--- a/src/evdev-tablet.c
+++ b/src/evdev-tablet.c
@@ -130,7 +130,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;
 
@@ -138,7 +139,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