From 0180cf39f393ff77818369fe033996306b018ff8 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 24 Feb 2025 15:23:05 +0100 Subject: [PATCH] os.h: drop obsolete xallocarray() This macro isn't used anywhere (also not in drivers), so no need to keep it around any longer. Signed-off-by: Enrico Weigelt, metux IT consult --- include/os.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/os.h b/include/os.h index 6d32ac7c5..d8506eddd 100644 --- a/include/os.h +++ b/include/os.h @@ -86,8 +86,6 @@ typedef struct _NewClientRec *NewClientPtr; #define xstrdup(s) Xstrdup(s) #define xnfstrdup(s) XNFstrdup(s) - -#define xallocarray(num, size) reallocarray(NULL, (num), (size)) #endif #include