mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-21 19:00:06 +01:00
Inline the type-to-mask helpers
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f65a1932c1
commit
aff1db36da
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue