1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 12:45:20 +03:00
aports/community/shadow/fix-undefined-reference.patch
2023-09-04 10:05:53 +00:00

19 lines
295 B
Diff

--- a/lib/alloc.h
+++ b/lib/alloc.h
@@ -84,14 +84,14 @@
}
-inline void *
+static inline void *
mallocarray(size_t nmemb, size_t size)
{
return reallocarray(NULL, nmemb, size);
}
-inline void *
+static inline void *
reallocarrayf(void *p, size_t nmemb, size_t size)
{
void *q;