/* -*- mode: c; c-file-style: "openbsd" -*- */
/* malloc replacement that can allocate 0 byte */
-#undef malloc
#include <stdlib.h>
#include <sys/types.h>
#include "compat.h"
+#undef malloc
/* Allocate an N-byte block of memory from the heap.
If N is zero, allocate a 1-byte block. */
/* -*- mode: c; c-file-style: "openbsd" -*- */
/* realloc replacement that can reallocate 0 byte or NULL pointers*/
-#undef realloc
#include <stdlib.h>
#include <sys/types.h>
#include "compat.h"
+#undef realloc
/* Reallocate an N-byte block of memory from the heap.
If N is zero, allocate a 1-byte block. */