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 <info@metux.net>
This commit is contained in:
parent
e479496802
commit
0180cf39f3
|
@ -86,8 +86,6 @@ typedef struct _NewClientRec *NewClientPtr;
|
||||||
|
|
||||||
#define xstrdup(s) Xstrdup(s)
|
#define xstrdup(s) Xstrdup(s)
|
||||||
#define xnfstrdup(s) XNFstrdup(s)
|
#define xnfstrdup(s) XNFstrdup(s)
|
||||||
|
|
||||||
#define xallocarray(num, size) reallocarray(NULL, (num), (size))
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
Loading…
Reference in New Issue