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/capabilities.h | |
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/capabilities.h')
-rw-r--r-- | src/capabilities.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/capabilities.h b/src/capabilities.h index 63dada5..66ce29b 100644 --- a/src/capabilities.h +++ b/src/capabilities.h @@ -24,15 +24,13 @@ #include "common.h" -//////////////////////////////////////////////////////// - struct Capabilities { - bool has_left, has_middle; - bool has_right, has_mtdata; - bool has_touch_major, has_touch_minor; - bool has_width_major, has_width_minor; - bool has_orientation, has_dummy; - bool has_position_x, has_position_y; + int has_left, has_middle; + int has_right, has_mtdata; + int has_touch_major, has_touch_minor; + int has_width_major, has_width_minor; + int has_orientation, has_dummy; + int has_position_x, has_position_y; struct input_absinfo abs_touch_major; struct input_absinfo abs_touch_minor; struct input_absinfo abs_width_major; @@ -42,11 +40,7 @@ struct Capabilities { struct input_absinfo abs_position_y; }; -//////////////////////////////////////////////////////// - int read_capabilities(struct Capabilities *cap, int fd); void output_capabilities(const struct Capabilities *cap); -//////////////////////////////////////////////////////// - #endif |