summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-26 16:13:23 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-26 16:13:23 -0700
commit4ae1b3d5f5330a8f7bd8880860a204000081095c (patch)
treefa2caa92f6ec7eb9426de7c4d7d488e0120ab71d
parente9a66d6ba4d0edd2d2d12cd0271aaecc43b6067d (diff)
Remove unused uTmpAlloc & uTmpFree fallbacks for 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 26cb29a..436809e 100644
--- a/utils.h
+++ b/utils.h
@@ -83,13 +83,6 @@ extern void uFree(Opaque /* ptr */);
#define uTypedAlloc(t) ((t *)uAlloc((unsigned)sizeof(t)))
#define uTypedCalloc(n,t) ((t *)uCalloc((unsigned)n,(unsigned)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
/***====================================================================***/