mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
treewide: replace xnfallocarray() calls by XNFreallocarray
The xnfallocarray was added along (and just as an alias to) XNFreallocarray back a decade ago. No (known) driver is using it, so the macro can be dropped entirely. Fixes:ae75d50395Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1529> (cherry picked from commit6b3c916030)
This commit is contained in:
committed by
Alan Coopersmith
parent
d9f8206afb
commit
a24dec213f
@@ -84,7 +84,6 @@ typedef struct _NewClientRec *NewClientPtr;
|
||||
#define xnfstrdup(s) XNFstrdup(s)
|
||||
|
||||
#define xallocarray(num, size) reallocarray(NULL, (num), (size))
|
||||
#define xnfallocarray(num, size) XNFreallocarray(NULL, (num), (size))
|
||||
#define xnfreallocarray(ptr, num, size) XNFreallocarray((ptr), (num), (size))
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user