diff options
author | Cyril Brulebois <kibi@debian.org> | 2011-05-25 12:44:52 +0200 |
---|---|---|
committer | Cyril Brulebois <kibi@debian.org> | 2011-05-25 12:44:52 +0200 |
commit | 9a42e39c63bbfed51ea5ca5972c322a3d74ed2c5 (patch) | |
tree | a804c7b3acd41ffa93f9e16fbbc6ca5823a476b1 | |
parent | be3d6b210119709f22d1b84a330a4f8753b11cd6 (diff) |
xts5: Fix missing type specifier.
The caller stores the result in an integer, so let's use that as return
type (which is the default anyway):
| CC checkevent.lo
| checkevent.c:664:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
| check_ext_event(good,ev)
| ^~~~~~~~~~~~~~~
Signed-off-by: Cyril Brulebois <kibi@debian.org>
-rw-r--r-- | xts5/src/lib/checkevent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xts5/src/lib/checkevent.c b/xts5/src/lib/checkevent.c index 3248ed84..40a0e609 100644 --- a/xts5/src/lib/checkevent.c +++ b/xts5/src/lib/checkevent.c @@ -661,7 +661,7 @@ char tempstr[50]; } #ifdef INPUTEXTENSION -check_ext_event(good,ev) +int check_ext_event(good,ev) XEvent *good, *ev; { int i; |