xorg-libx11/include/X11
Dominik Muth 4de6ed3e7b Xlib.h: Fix macros imitating C functions.
The basic rule "put parantheses around macro parameters" should be
observed where possible. Otherwise code like

    ConnectionNumber(foo = bar);

fails to compile. (It obviously passes if ConnectionNumber is a C
function.) There are several other macros amended for the same reason.

This bug appeared while building http://ioccc.org/1993/cmills.c, so
historically it was not present.

Signed-off-by: Dominik Muth <muth@nxdomain.no-ip.biz>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2016-02-03 22:11:38 -08:00
..
.gitignore .gitignore: use common defaults with custom section # 24239 2009-11-14 09:26:16 -05:00
cursorfont.h Add an "X11_" string to header guards to avoid possible collision 2010-09-26 21:21:16 -07:00
ImUtil.h Add an "X11_" string to header guards to avoid possible collision 2010-09-26 21:21:16 -07:00
Xcms.h Tell clang not to report -Wpadded warnings on public headers we can't fix 2013-01-09 20:50:32 -08:00
XKBlib.h Add an "X11_" string to header guards to avoid possible collision 2010-09-26 21:21:16 -07:00
Xlib-xcb.h Add an "X11_" string to header guards to avoid possible collision 2010-09-26 21:21:16 -07:00
Xlib.h Xlib.h: Fix macros imitating C functions. 2016-02-03 22:11:38 -08:00
XlibConf.h.in nuke RCS Ids 2008-03-09 09:08:07 +01:00
Xlibint.h Remove unused definition of XCONN_CHECK_FREQ 2015-12-03 23:02:18 -08:00
Xlocale.h Drop X_LOCALE fallback for OS'es without setlocale() 2013-11-22 22:02:17 -08:00
Xregion.h Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro 2013-08-20 12:51:04 -07:00
Xresource.h Add an "X11_" string to header guards to avoid possible collision 2010-09-26 21:21:16 -07:00
Xutil.h Tell clang not to report -Wpadded warnings on public headers we can't fix 2013-01-09 20:50:32 -08:00