1 /* Just a replacement, if the original malloc is not
2 GNU-compliant. See autoconf documentation. */
5 #include <ldns/config.h>
10 #if !HAVE_BZERO && HAVE_MEMSET
11 # define bzero(buf, bytes) ((void) memset (buf, 0, bytes))
15 calloc(size_t num
, size_t size
)
17 void *new = malloc(num
* size
);
21 bzero(new, num
* size
);