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>
This commit is contained in:
Alan Coopersmith 2013-08-10 12:34:53 -07:00
parent 5f32182c7c
commit 1cec14dad9

View file

@ -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;