From f0b1dbdc00bda57c62199cbdc44acbadbb1121b0 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Mon, 1 Feb 2010 22:03:33 +0100 Subject: 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 --- src/iobuffer.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/iobuffer.h') 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 @@ #define DIM_EVENTS 64 #define DIM_BUFFER (DIM_EVENTS * EVENT_SIZE) -//////////////////////////////////////////////////////// - struct IOBuffer { char begin[DIM_BUFFER], *at, *top, *end; }; -//////////////////////////////////////////////////////// - void init_iobuf(struct IOBuffer *buf); -const struct input_event* get_iobuf_event(struct IOBuffer *buf, int fd); - -//////////////////////////////////////////////////////// +const struct input_event *get_iobuf_event(struct IOBuffer *buf, int fd); #endif -- cgit v1.2.3