mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-30 02:30:07 +01:00
Fix some indentation issues
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
e06701201f
commit
11586b7f34
1 changed files with 5 additions and 5 deletions
|
|
@ -127,19 +127,19 @@ zalloc(size_t size)
|
|||
static inline int
|
||||
bit_is_set(const unsigned char *array, int bit)
|
||||
{
|
||||
return !!(array[bit / 8] & (1 << (bit % 8)));
|
||||
return !!(array[bit / 8] & (1 << (bit % 8)));
|
||||
}
|
||||
|
||||
static inline void
|
||||
static inline void
|
||||
set_bit(unsigned char *array, int bit)
|
||||
{
|
||||
array[bit / 8] |= (1 << (bit % 8));
|
||||
array[bit / 8] |= (1 << (bit % 8));
|
||||
}
|
||||
|
||||
static inline void
|
||||
static inline void
|
||||
clear_bit(unsigned char *array, int bit)
|
||||
{
|
||||
array[bit / 8] &= ~(1 << (bit % 8));
|
||||
array[bit / 8] &= ~(1 << (bit % 8));
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue