From f0245033caaaf811e7099cbf1ad2d40fc0b2ec00 Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Sun, 13 Oct 2019 23:00:28 +0300 Subject: [PATCH] Fix warning that reallocarray() is static --- c/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/util.c b/c/util.c index 525b3da..da1af25 100644 --- a/c/util.c +++ b/c/util.c @@ -14,7 +14,7 @@ #include "scheme.h" -static void *reallocarray(void *ptr, size_t nmemb, size_t size) +void *reallocarray(void *ptr, size_t nmemb, size_t size) { return realloc(ptr, nmemb * size); }