diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2010-05-14 01:10:17 +0200 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2010-05-14 01:41:39 +0200 |
commit | 2b271ed5348daec2bcf90b83da47781e2d8b964c (patch) | |
tree | 1828f251cf4b7d4f6a66a6af67c2681998f2483e /src/gestures.c | |
parent | f02210172efc6bfc05c4598c14e1268d2828097e (diff) | |
download | xorg-input-kobomultitouch-2b271ed5348daec2bcf90b83da47781e2d8b964c.tar.gz xorg-input-kobomultitouch-2b271ed5348daec2bcf90b83da47781e2d8b964c.tar.bz2 xorg-input-kobomultitouch-2b271ed5348daec2bcf90b83da47781e2d8b964c.zip |
janitor: Move min/max and dist functions up to common.h
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/gestures.c')
-rw-r--r-- | src/gestures.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gestures.c b/src/gestures.c index f44e6ab..a0ef5d4 100644 --- a/src/gestures.c +++ b/src/gestures.c @@ -31,8 +31,6 @@ static const int FINGER_ATTACK_MS = 70; static const int FINGER_DECAY_MS = 120; -static inline int maxval(int x, int y) { return x > y ? x : y; } - inline int dxval(const struct FingerState *a, const struct FingerState *b) { return a->hw.position_x - b->hw.position_x; |