[PATCH 5/5] include: don't redeclare device events in xkbsrv.h

Peter Hutterer peter.hutterer at who-t.net
Tue May 15 00:03:03 PDT 2012


../../include/xkbsrv.h:308:51: warning: redundant redeclaration of
‘DeviceKeyPress’ [-Wredundant-decls]

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 include/xkbsrv.h |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/xkbsrv.h b/include/xkbsrv.h
index 3b72885..a19c8fb 100644
--- a/include/xkbsrv.h
+++ b/include/xkbsrv.h
@@ -305,9 +305,6 @@ extern _X_EXPORT CARD32 xkbDebugFlags;
 #define	_XkbErrCode3(a,b,c)	_XkbErrCode2(a,(((unsigned int)(b))<<16)|(c))
 #define	_XkbErrCode4(a,b,c,d) _XkbErrCode3(a,b,((((unsigned int)(c))<<8)|(d)))
 
-extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
-extern _X_EXPORT int DeviceButtonPress, DeviceButtonRelease;
-
 #define	Status		int
 
 extern _X_EXPORT void XkbUseMsg(void
-- 
1.7.10.1



More information about the xorg-devel mailing list