From 81e51cf1ff494131827df487a0f538c3b07e0407 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 10 Dec 2022 13:34:09 -0800 Subject: Delete unused uTmpAlloc/uTmpFree wrappers around alloca() Signed-off-by: Alan Coopersmith --- utils.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/utils.h b/utils.h index 728d7b4..0053c84 100644 --- a/utils.h +++ b/utils.h @@ -94,13 +94,6 @@ extern void uFree(Opaque /* ptr */ #define uTypedCalloc(n,t) ((t *)uCalloc((unsigned)n,(unsigned)sizeof(t))) #define uTypedRealloc(pO,n,t) ((t *)uRealloc((Opaque)pO,((unsigned)n)*sizeof(t))) #define uTypedRecalloc(pO,o,n,t) ((t *)uRecalloc((Opaque)pO,((unsigned)o),((unsigned)n),sizeof(t))) -#if (defined mdHasAlloca) && (mdHasAlloca) -#define uTmpAlloc(n) ((Opaque)alloca((unsigned)n)) -#define uTmpFree(p) -#else -#define uTmpAlloc(n) uAlloc(n) -#define uTmpFree(p) uFree(p) -#endif /***====================================================================***/ -- cgit v1.2.3