diff options
author | Cyril Brulebois <kibi@debian.org> | 2011-06-03 06:31:39 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2011-06-24 08:22:09 -0700 |
commit | 051c1f89c834ff1f106cdfdef074b5904e0d8e6c (patch) | |
tree | 05aa68ec73601f38d18dbc1dc82ee00f87b4f3af | |
parent | 7af605f01b419cb5a0ded89496e7322e900cacb9 (diff) |
xts5: Switch from K&R to ANSI prototypes.
Conversion performed through:
cproto -a -I include -I xts5/include/ xts5/src/lib/checkevent.c
(after which trailing spaces were removed.)
Suggested-by: Walter Harms <wharms@bfs.de>
Signed-off-by: Cyril Brulebois <kibi@debian.org>
[aplattner@nvidia.com: fixed whitespace errors]
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-rw-r--r-- | xts5/src/lib/checkevent.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xts5/src/lib/checkevent.c b/xts5/src/lib/checkevent.c index 63353091..27f3c4e7 100644 --- a/xts5/src/lib/checkevent.c +++ b/xts5/src/lib/checkevent.c @@ -250,9 +250,7 @@ int check_ext_event(XEvent*, XEvent*); * On error (eg. no such event type) returns -1. */ int -checkevent(good, ev) -XEvent *good; -XEvent *ev; +checkevent(XEvent *good, XEvent *ev) { int i; int fail; @@ -665,8 +663,8 @@ char tempstr[50]; } #ifdef INPUTEXTENSION -int check_ext_event(good,ev) -XEvent *good, *ev; +int +check_ext_event(XEvent *good, XEvent *ev) { int i; int fail; |