summaryrefslogtreecommitdiff
path: root/src/iobuffer.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/iobuffer.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/iobuffer.h')
-rw-r--r--src/iobuffer.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/iobuffer.h b/src/iobuffer.h
index 05f412c..2e3d0c8 100644
--- a/src/iobuffer.h
+++ b/src/iobuffer.h
@@ -28,17 +28,11 @@
28#define DIM_EVENTS 64 28#define DIM_EVENTS 64
29#define DIM_BUFFER (DIM_EVENTS * EVENT_SIZE) 29#define DIM_BUFFER (DIM_EVENTS * EVENT_SIZE)
30 30
31////////////////////////////////////////////////////////
32
33struct IOBuffer { 31struct IOBuffer {
34 char begin[DIM_BUFFER], *at, *top, *end; 32 char begin[DIM_BUFFER], *at, *top, *end;
35}; 33};
36 34
37////////////////////////////////////////////////////////
38
39void init_iobuf(struct IOBuffer *buf); 35void init_iobuf(struct IOBuffer *buf);
40const struct input_event* get_iobuf_event(struct IOBuffer *buf, int fd); 36const struct input_event *get_iobuf_event(struct IOBuffer *buf, int fd);
41
42////////////////////////////////////////////////////////
43 37
44#endif 38#endif