aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-10 12:34:53 -0700
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:28 +0200
commit92591316d2698f48e9021d0c2c0e4f5ec3b29880 (patch)
tree8181f7c77f8977602ba9b0a5146280d7533e0590 /nx-X11/lib/X11
parentbe32fbb31b1cf65986b46ed8e837d556546c5e45 (diff)
downloadnx-libs-92591316d2698f48e9021d0c2c0e4f5ec3b29880.tar.gz
nx-libs-92591316d2698f48e9021d0c2c0e4f5ec3b29880.tar.bz2
nx-libs-92591316d2698f48e9021d0c2c0e4f5ec3b29880.zip
Delete unused XKB_INSURE_SIZE macro from XKBlibint.h
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11')
-rw-r--r--nx-X11/lib/X11/XKBlibint.h6
1 files changed, 0 insertions, 6 deletions
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;