From 261503c7c82e89807e678087d0125e1cd61bd6fb Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Wed, 25 Feb 2015 02:13:23 -0700 Subject: [PATCH] Fix the reallocarray header by providing a prototype. --- include/extern/reallocarray.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/extern/reallocarray.h b/include/extern/reallocarray.h index e8ab5709..a81ff957 100644 --- a/include/extern/reallocarray.h +++ b/include/extern/reallocarray.h @@ -1,10 +1,14 @@ #ifndef EXTERN_REALLOCARRAY_H #define EXTERN_REALLOCARRAY_H +#ifdef REALLOCARRAY_IN_LIBC #include +#else -#ifndef REALLOCARRAY_IN_LIBC #define reallocarray rgbds_reallocarray + +void *reallocarray(void *, size_t, size_t); + #endif #endif