Thomas Dickey wrote:
> On Fri, 31 Jul 2009, Julien Cristau wrote:
> 
>> Add _X_HIDDEN for some symbols that aren't used outside of Xlib.
> 
> ...
> 
> xterm uses this, has used the specific Xlib.h interface since 1999.
> 
> There's a reason for having those in the header file (probably other
> programs than xterm use them ;-)
> 
> 
>> -KeySym
>> -XKeycodeToKeysym(Display *dpy,
> ...
> 
>> +#ifdef XKB
>> +_X_HIDDEN
>> +#endif
>> +KeySym
>> +XKeycodeToKeysym(Display *dpy,

Perhaps it would have been clearer with the other #ifdef XKB defines
expanded in place:

#ifdef XKB
_X_HIDDEN KeySym
_XKeycodeToKeysym
#else
KeySym
XKeycodeToKeysym
#endif
(Display *dpy, ....

-- 
        -Alan Coopersmith-           [email protected]
         Sun Microsystems, Inc. - X Window System Engineering

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to