summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-10 13:34:09 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-11 14:35:34 -0800
commit81e51cf1ff494131827df487a0f538c3b07e0407 (patch)
treeac1fb7f7f207571ae26d4e5a087c97ac9a642e3f
parent77b1efa1c83ad64d49d1e9c085d2a496580ce6f9 (diff)
Delete unused uTmpAlloc/uTmpFree wrappers around alloca()
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--utils.h7
1 files changed, 0 insertions, 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
/***====================================================================***/