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: ae75d50395
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1529>
(cherry picked from commit 6b3c916030)
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-05-08 10:49:43 +02:00
committed by Alan Coopersmith
parent d9f8206afb
commit a24dec213f
3 changed files with 10 additions and 11 deletions

View File

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