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/iobuffer.c | |
parent | 30869603dc5d36ad2d82cff82900c7e05a4b35c1 (diff) | |
download | xorg-input-kobomultitouch-f0b1dbdc00bda57c62199cbdc44acbadbb1121b0.tar.gz xorg-input-kobomultitouch-f0b1dbdc00bda57c62199cbdc44acbadbb1121b0.tar.bz2 xorg-input-kobomultitouch-f0b1dbdc00bda57c62199cbdc44acbadbb1121b0.zip |
janitor: stick to kernel-style formatting
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.c')
-rw-r--r-- | src/iobuffer.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/iobuffer.c b/src/iobuffer.c index 54955d6..35b61e9 100644 --- a/src/iobuffer.c +++ b/src/iobuffer.c @@ -21,8 +21,6 @@ #include "iobuffer.h" -//////////////////////////////////////////////////////// - void init_iobuf(struct IOBuffer *buf) { memset(buf, 0, sizeof(struct IOBuffer)); @@ -31,9 +29,7 @@ void init_iobuf(struct IOBuffer *buf) buf->end = buf->begin + DIM_BUFFER; } -//////////////////////////////////////////////////////// - -const struct input_event* get_iobuf_event(struct IOBuffer *buf, int fd) +const struct input_event *get_iobuf_event(struct IOBuffer *buf, int fd) { const struct input_event *ev; int n = buf->top - buf->at; @@ -56,5 +52,3 @@ const struct input_event* get_iobuf_event(struct IOBuffer *buf, int fd) buf->at += EVENT_SIZE; return ev; } - -//////////////////////////////////////////////////////// |