summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/common.h b/src/common.h
index b1c3273..f64e114 100644
--- a/src/common.h
+++ b/src/common.h
@@ -30,9 +30,7 @@
30#include <errno.h> 30#include <errno.h>
31#include <match/match.h> 31#include <match/match.h>
32 32
33//////////////////////////////////////////////////////// 33/* includes available in 2.6.30-rc5 */
34
35// includes available in 2.6.30-rc5
36 34
37#ifndef BTN_TOOL_QUADTAP 35#ifndef BTN_TOOL_QUADTAP
38#define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */ 36#define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */
@@ -50,8 +48,6 @@
50#define MT_TOOL_PEN 1 48#define MT_TOOL_PEN 1
51#endif 49#endif
52 50
53////////////////////////////////////////////////////////
54
55#define SYSCALL(call) while (((call) == -1) && (errno == EINTR)) 51#define SYSCALL(call) while (((call) == -1) && (errno == EINTR))
56 52
57#define BITMASK(x) (1U << (x)) 53#define BITMASK(x) (1U << (x))
@@ -60,6 +56,4 @@
60#define SETBIT(m, x) (m |= BITMASK(x)) 56#define SETBIT(m, x) (m |= BITMASK(x))
61#define CLEARBIT(m, x) (m &= ~BITMASK(x)) 57#define CLEARBIT(m, x) (m &= ~BITMASK(x))
62 58
63////////////////////////////////////////////////////////
64
65#endif 59#endif