From 92591316d2698f48e9021d0c2c0e4f5ec3b29880 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 10 Aug 2013 12:34:53 -0700 Subject: Delete unused XKB_INSURE_SIZE macro from XKBlibint.h Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb Backported-to-NX-by: Ulrich Sibiller --- nx-X11/lib/X11/XKBlibint.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'nx-X11/lib/X11') diff --git a/nx-X11/lib/X11/XKBlibint.h b/nx-X11/lib/X11/XKBlibint.h index 94b8ac077..d14c7df10 100644 --- a/nx-X11/lib/X11/XKBlibint.h +++ b/nx-X11/lib/X11/XKBlibint.h @@ -106,12 +106,6 @@ typedef struct _XkbInfoRec { /* * Handy helper macros */ -#define XKB_INSURE_SIZE(f,t,nNum,oNum) {\ - if ((f)==NULL) \ - (f)=(t *)Xmalloc(sizeof(t)*(nNum));\ - else if ((nNum)<(oNum))\ - (f)=(t *)Xrealloc((f),sizeof(t)*(nNum));\ - } typedef struct _XkbReadBuffer { int error; -- cgit v1.2.3