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/mtouch.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/mtouch.h')
| -rw-r--r-- | src/mtouch.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mtouch.h b/src/mtouch.h index 900d825..753a400 100644 --- a/src/mtouch.h +++ b/src/mtouch.h | |||
| @@ -27,8 +27,6 @@ | |||
| 27 | #include "hwdata.h" | 27 | #include "hwdata.h" |
| 28 | #include "state.h" | 28 | #include "state.h" |
| 29 | 29 | ||
| 30 | //////////////////////////////////////////////////////// | ||
| 31 | |||
| 32 | struct MTouch { | 30 | struct MTouch { |
| 33 | struct Capabilities caps; | 31 | struct Capabilities caps; |
| 34 | struct IOBuffer buf; | 32 | struct IOBuffer buf; |
| @@ -36,15 +34,11 @@ struct MTouch { | |||
| 36 | struct State os, ns; | 34 | struct State os, ns; |
| 37 | }; | 35 | }; |
| 38 | 36 | ||
| 39 | //////////////////////////////////////////////////////// | ||
| 40 | |||
| 41 | int configure_mtouch(struct MTouch *mt, int fd); | 37 | int configure_mtouch(struct MTouch *mt, int fd); |
| 42 | int open_mtouch(struct MTouch *mt, int fd); | 38 | int open_mtouch(struct MTouch *mt, int fd); |
| 43 | int close_mtouch(struct MTouch *mt, int fd); | 39 | int close_mtouch(struct MTouch *mt, int fd); |
| 44 | 40 | ||
| 45 | bool read_synchronized_event(struct MTouch *mt, int fd); | 41 | int read_synchronized_event(struct MTouch *mt, int fd); |
| 46 | void parse_event(struct MTouch *mt); | 42 | void parse_event(struct MTouch *mt); |
| 47 | 43 | ||
| 48 | //////////////////////////////////////////////////////// | ||
| 49 | |||
| 50 | #endif | 44 | #endif |
