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/gestures.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/gestures.h') diff --git a/src/gestures.h b/src/gestures.h index 0e2a49e..0428195 100644 --- a/src/gestures.h +++ b/src/gestures.h @@ -24,25 +24,16 @@ #include "mtouch.h" -//////////////////////////////////////////////////////// - #define GS_BUTTON 0 #define GS_MOVE 1 #define GS_VSCROLL 2 #define GS_HSCROLL 3 -//////////////////////////////////////////////////////// - struct Gestures { - unsigned type; + unsigned type, btmask, btdata; int dx, dy; - button_t btmask, btdata; }; -//////////////////////////////////////////////////////// - void extract_gestures(struct Gestures *gs, struct MTouch* mt); -//////////////////////////////////////////////////////// - #endif -- cgit v1.2.3