summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-26 16:12:05 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-26 16:12:17 -0700
commite9a66d6ba4d0edd2d2d12cd0271aaecc43b6067d (patch)
treee5df835c95eb8af61a5002be4c7774cde0265482 /utils.h
parentdbbc677985e3a853f2e52b8a9d09660d3fa6d983 (diff)
Remove unused uRealloc & uRecalloc functions
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/utils.h b/utils.h
index 4bf5825..26cb29a 100644
--- a/utils.h
+++ b/utils.h
@@ -79,18 +79,10 @@ typedef int Comparison;
extern Opaque uAlloc(unsigned /* size */);
extern Opaque uCalloc(unsigned /* n */ ,
unsigned /* size */);
-extern Opaque uRealloc(Opaque /* old */ ,
- unsigned /* newSize */);
-extern Opaque uRecalloc(Opaque /* old */ ,
- unsigned /* nOld */ ,
- unsigned /* nNew */ ,
- unsigned /* newSize */);
extern void uFree(Opaque /* ptr */);
#define uTypedAlloc(t) ((t *)uAlloc((unsigned)sizeof(t)))
#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)