#ifndef XSH_MEM_H
#define XSH_MEM_H 1
-#include "util.h" /* VOID2(), XSH_ASSERT() */
+#include "util.h" /* XSH_ASSERT() */
#ifdef DEBUGGING
# ifdef Poison
#endif /* !XSH_HAS_POISON_NEW */
-#define XSH_SHARED_ALLOC(D, N, T) ((D) = VOID2(T *, xsh_shared_alloc((N) * sizeof(T))))
+#define XSH_SHARED_ALLOC(D, N, T) ((D) = xsh_shared_alloc((N) * sizeof(T)))
/* ... xsh_shared_calloc() ................................................. */
#define xsh_shared_calloc(C, S) PerlMemShared_calloc((C), (S))
-#define XSH_SHARED_CALLOC(D, N, T) ((D) = VOID2(T *, xsh_shared_calloc((N), sizeof(T))))
+#define XSH_SHARED_CALLOC(D, N, T) ((D) = xsh_shared_calloc((N), sizeof(T)))
/* ... xsh_shared_free() ................................................... */
#endif /* !XSH_HAS_POISON_NEW || !XSH_HAS_POISON_FREE */
-#define XSH_SHARED_REALLOC(D, OL, NL, T) ((D) = VOID2(T *, xsh_shared_realloc((D), (OL) * sizeof(T), (NL) * sizeof(T))))
+#define XSH_SHARED_REALLOC(D, OL, NL, T) ((D) = xsh_shared_realloc((D), (OL) * sizeof(T), (NL) * sizeof(T)))
/* ... xsh_shared_recalloc() ............................................... */
return q;
}
-#define XSH_SHARED_RECALLOC(D, OL, NL, T) ((D) = VOID2(T *, xsh_shared_recalloc((D), (OL) * sizeof(T), (NL) * sizeof(T))))
+#define XSH_SHARED_RECALLOC(D, OL, NL, T) ((D) = xsh_shared_recalloc((D), (OL) * sizeof(T), (NL) * sizeof(T)))
/* --- Interpreter-local memory -------------------------------------------- */