[ANNOUNCE] inputproto 1.4.1

Tiago Vignatti vignatti at c3sl.ufpr.br
Thu Feb 15 07:16:23 PST 2007


Daniel Stone escreveu:
> Thanks to Peter for catching a small, stupid, and critical, typo.
> 
> Peter Hutterer (1):
>       Fix typo in DevicePresence() macro
> 

diff --git a/XInput.h b/XInput.h
index e4066b1..e3585b4 100644
--- a/XInput.h
+++ b/XInput.h
@@ -151,7 +151,7 @@ #define NoExtensionEvent(d,type,_class)

  #define DevicePresence(dpy, type, _class)                       \
      {                                                           \
-        extern int_XiGetDevicePresenceNotifyEvent(Display *);   \
+        extern int _XiGetDevicePresenceNotifyEvent(Display *);  \
          type = _XiGetDevicePresenceNotifyEvent(dpy);            \
          _class =  (0x10000 | _devicePresence);                  \


The question is: why the compiler does not emit an error here?


-- 
Tiago Vignatti
C3SL - Centro de Computação Científica e Software Livre
www.c3sl.ufpr.br



More information about the xorg mailing list