aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/composite/compinit.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-26 02:08:32 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-02 14:05:31 +0200
commit74a5450bc058354e55c1589e64ef8e73775cebc4 (patch)
tree4f100198d9774ef99bc141c531bd52a8791a84e5 /nx-X11/programs/Xserver/composite/compinit.c
parent2646fc254e75c4a7fc10d03d1139d0bd708ceae9 (diff)
downloadnx-libs-74a5450bc058354e55c1589e64ef8e73775cebc4.tar.gz
nx-libs-74a5450bc058354e55c1589e64ef8e73775cebc4.tar.bz2
nx-libs-74a5450bc058354e55c1589e64ef8e73775cebc4.zip
nx-X11/programs/Xserver: Drop {X,x}realloc() macros, use realloc() instead.
Diffstat (limited to 'nx-X11/programs/Xserver/composite/compinit.c')
-rw-r--r--nx-X11/programs/Xserver/composite/compinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/composite/compinit.c b/nx-X11/programs/Xserver/composite/compinit.c
index e33bd3a3f..27b54468f 100644
--- a/nx-X11/programs/Xserver/composite/compinit.c
+++ b/nx-X11/programs/Xserver/composite/compinit.c
@@ -230,7 +230,7 @@ compRegisterAlternateVisuals(CompScreenPtr cs, VisualID * vids, int nVisuals)
p = reallocarray(cs->alternateVisuals,
cs->numAlternateVisuals + nVisuals, sizeof(VisualID));
#else
- p = xrealloc(cs->alternateVisuals,
+ p = realloc(cs->alternateVisuals,
sizeof(VisualID) * (cs->numAlternateVisuals + nVisuals));
#endif
if (p == NULL)
@@ -265,7 +265,7 @@ CompositeRegisterImplicitRedirectionException(ScreenPtr pScreen,
p = reallocarray(cs->implicitRedirectExceptions,
cs->numImplicitRedirectExceptions + 1, sizeof(p[0]));
#else
- p = xrealloc(cs->implicitRedirectExceptions,
+ p = realloc(cs->implicitRedirectExceptions,
sizeof(p[0]) * (cs->numImplicitRedirectExceptions + 1));
#endif
if (p == NULL)