summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-07-13 07:30:40 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-07-13 08:33:30 +1000
commit11586b7f34ca04bffca26c41f0fb28a6c7a74999 (patch)
treed7b144b6c015b04d97c20aa87ddd18c4d61e2989 /src
parente06701201f7c94e951da9060254221be3f84bf16 (diff)
Fix some indentation issues
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/libinput-util.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libinput-util.h b/src/libinput-util.h
index a7ebc308..0848040b 100644
--- a/src/libinput-util.h
+++ b/src/libinput-util.h
@@ -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