../../include/dixevents.h:84:13: warning: redundant redeclaration of 
‘PostSyntheticMotion’ [-Wredundant-decls]
../../include/input.h:525:13: note: previous declaration of 
‘PostSyntheticMotion’ was here

PostSyntheticMotion is declared in dixevents.h under PANORAMIX, and 
unconditionally in input.h, so just remove
the conditional declaration

PostSyntheticMotion is only used inside the server in dix/events.c and 
dix/getevents.c, both of which include
input.h (indirectly)

This function is marked X_EXPORT, and both dixevents.h and input.h are 
installed as SDK headers, so this change
will cause code using the SDK headers and which only includes dixevents.h to no 
longer have the prototype for
PostSyntheticMotion available.

Signed-off-by: Jon TURNEY <[email protected]>
---
 include/dixevents.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/include/dixevents.h b/include/dixevents.h
index b915345..2d4bb2c 100644
--- a/include/dixevents.h
+++ b/include/dixevents.h
@@ -80,12 +80,4 @@ extern _X_EXPORT int ProcUngrabButton(ClientPtr /* client 
*/);
 
 extern _X_EXPORT int ProcRecolorCursor(ClientPtr /* client */);
 
-#ifdef PANORAMIX
-extern _X_EXPORT void PostSyntheticMotion(DeviceIntPtr pDev,
-                                int x, 
-                                int y, 
-                                int screen,
-                                unsigned long time);
-#endif
-
 #endif /* DIXEVENTS_H */
-- 
1.7.5.1

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to