diff options
| author | Henrik Rydberg <rydberg@alnilam.(none)> | 2010-02-01 22:03:33 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@alnilam.(none)> | 2010-02-01 22:03:33 +0100 |
| commit | f0b1dbdc00bda57c62199cbdc44acbadbb1121b0 (patch) | |
| tree | 5234055bf794c28662b139c22e153f7a720a37bc /src/common.h | |
| parent | 30869603dc5d36ad2d82cff82900c7e05a4b35c1 (diff) | |
janitor: stick to kernel-style formattingalpha-1
With this commit, the whole code base complies with the
kernel format style, and patches can be checked against
the kernel-provided ./scripts/checkpatch.pl
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 8 |
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 |
