diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-14 15:01:09 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-16 10:59:39 +1000 |
commit | 1bafc9f26bef0997c98b97efa888ed5e2a54f6f0 (patch) | |
tree | e5f07abd00521f5cf6f4fd786714b0ab3efc882b /test/xi2/protocol-xiquerydevice.c | |
parent | 47e1d0ea43eb7a6caf774f375f11849d0d515e14 (diff) |
test: fix redundant declaration of "BadDevice"
In file included from protocol-common.c:36:0:
protocol-common.h:36:12: warning: redundant redeclaration of ‘BadDevice’
[-Wredundant-decls]
In file included from protocol-common.c:30:0:
../../Xi/exglobals.h:41:12: note: previous declaration of ‘BadDevice’ was
here
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'test/xi2/protocol-xiquerydevice.c')
-rw-r--r-- | test/xi2/protocol-xiquerydevice.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/xi2/protocol-xiquerydevice.c b/test/xi2/protocol-xiquerydevice.c index e588f8dc2..b45358ec1 100644 --- a/test/xi2/protocol-xiquerydevice.c +++ b/test/xi2/protocol-xiquerydevice.c @@ -32,6 +32,7 @@ #include <X11/Xatom.h> #include "inputstr.h" #include "extinit.h" +#include "exglobals.h" #include "scrnintstr.h" #include "xkbsrv.h" |