summaryrefslogtreecommitdiff
path: root/src/mtouch.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@alnilam.(none)>2010-02-01 22:03:33 +0100
committerHenrik Rydberg <rydberg@alnilam.(none)>2010-02-01 22:03:33 +0100
commitf0b1dbdc00bda57c62199cbdc44acbadbb1121b0 (patch)
tree5234055bf794c28662b139c22e153f7a720a37bc /src/mtouch.h
parent30869603dc5d36ad2d82cff82900c7e05a4b35c1 (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.h8
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
32struct MTouch { 30struct 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
41int configure_mtouch(struct MTouch *mt, int fd); 37int configure_mtouch(struct MTouch *mt, int fd);
42int open_mtouch(struct MTouch *mt, int fd); 38int open_mtouch(struct MTouch *mt, int fd);
43int close_mtouch(struct MTouch *mt, int fd); 39int close_mtouch(struct MTouch *mt, int fd);
44 40
45bool read_synchronized_event(struct MTouch *mt, int fd); 41int read_synchronized_event(struct MTouch *mt, int fd);
46void parse_event(struct MTouch *mt); 42void parse_event(struct MTouch *mt);
47 43
48////////////////////////////////////////////////////////
49
50#endif 44#endif