mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-08 07:58:04 +02:00
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:
parent
5f32182c7c
commit
1cec14dad9
1 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue