From ad1a0463067bba232ec8e19f458e1fc7d7c80b55 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 12 Mar 2024 02:49:05 +0100 Subject: add reallocarray from musl --- include/stdlib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/stdlib.h b/include/stdlib.h index 987fe2223..8b1375184 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -985,6 +985,8 @@ extern int getpt (void); three, but may be less than NELEM), or -1 if an error occurred. */ extern int getloadavg (double __loadavg[], int __nelem) __THROW __nonnull ((1)); + +extern void *reallocarray (void *__ptr, size_t __m, size_t __n); #endif #ifdef _LIBC -- cgit v1.2.3