Fix the reallocarray header by providing a prototype.

This commit is contained in:
Anthony J. Bentley
2015-02-25 02:13:23 -07:00
parent c8d9ae21e6
commit 261503c7c8

View File

@@ -1,10 +1,14 @@
#ifndef EXTERN_REALLOCARRAY_H
#define EXTERN_REALLOCARRAY_H
#ifdef REALLOCARRAY_IN_LIBC
#include <stdlib.h>
#else
#ifndef REALLOCARRAY_IN_LIBC
#define reallocarray rgbds_reallocarray
void *reallocarray(void *, size_t, size_t);
#endif
#endif