1 /* Just a replacement, if the original malloc is not
2 GNU-compliant. Based on malloc.c */
5 #include <ldns/config.h>
11 void *realloc (void*, size_t);
12 void *malloc (size_t);
14 /* Changes allocation to new sizes, copies over old data.
15 * if oldptr is NULL, does a malloc.
16 * if size is zero, allocate 1-byte block....
17 * (does not return NULL and free block)
21 rpl_realloc (void* ptr, size_t n)
28 return realloc(ptr, n);