Fix typo in DevicePresence() macro
authorPeter Hutterer <peter@cs.unisa.edu.au>
Tue, 9 Jan 2007 03:02:39 +0000 (13:32 +1030)
committerPeter Hutterer <whot@hyena.localdomain>
Tue, 9 Jan 2007 03:02:39 +0000 (13:32 +1030)
XInput.h

index e4066b1..e3585b4 100644 (file)
--- a/XInput.h
+++ b/XInput.h
@@ -151,7 +151,7 @@ SOFTWARE.
 
 #define DevicePresence(dpy, type, _class)                       \
     {                                                           \
-        extern int_XiGetDevicePresenceNotifyEvent(Display *);   \
+        extern int _XiGetDevicePresenceNotifyEvent(Display *);  \
         type = _XiGetDevicePresenceNotifyEvent(dpy);            \
         _class =  (0x10000 | _devicePresence);                  \
     }