aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/xtrans/Xtransutil.c
diff options
context:
space:
mode:
authorDominik Muth <nxdomainuser-muth@yahoo.com>2015-03-26 07:52:58 +0100
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:30 +0200
commitde4047722a243f1be2212d1af6002247c5c3c733 (patch)
tree08691f581c00abc781baec3954aef1ad24ff1637 /nx-X11/lib/xtrans/Xtransutil.c
parenta3759f323a476deee8347ac3b88df1b426d7cc1a (diff)
downloadnx-libs-de4047722a243f1be2212d1af6002247c5c3c733.tar.gz
nx-libs-de4047722a243f1be2212d1af6002247c5c3c733.tar.bz2
nx-libs-de4047722a243f1be2212d1af6002247c5c3c733.zip
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> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/xtrans/Xtransutil.c')
0 files changed, 0 insertions, 0 deletions