summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-10 12:34:53 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-20 12:51:05 -0700
commit1cec14dad904ba21a861f4af131be5982ecb83dd (patch)
treef50fcb4f048fc090bb6bfa55dd9d7ce5c21b0816 /src
parent5f32182c7c4045540ff3833c48ee24a3a25726e2 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/xkb/XKBlibint.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/xkb/XKBlibint.h b/src/xkb/XKBlibint.h
index 7b41c3bb..6c85558b 100644
--- a/src/xkb/XKBlibint.h
+++ b/src/xkb/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;