From aff1db36da26db45cf724bde5d0c579e12d03c02 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 4 Jun 2013 15:55:20 +1000 Subject: [PATCH] Inline the type-to-mask helpers Signed-off-by: Peter Hutterer --- libevdev/libevdev-util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libevdev/libevdev-util.h b/libevdev/libevdev-util.h index ae24410..74f8edb 100644 --- a/libevdev/libevdev-util.h +++ b/libevdev/libevdev-util.h @@ -53,7 +53,7 @@ set_bit_state(unsigned long *array, int bit, int state) clear_bit(array, bit); } -static unsigned int +static inline unsigned int type_to_mask_const(const struct libevdev *dev, unsigned int type, const unsigned long **mask) { unsigned int max; @@ -82,7 +82,7 @@ type_to_mask_const(const struct libevdev *dev, unsigned int type, const unsigned return max; } -static unsigned int +static inline unsigned int type_to_mask(struct libevdev *dev, unsigned int type, unsigned long **mask) { unsigned int max;