From 73c0a90073109b3616bdbfbe6386c7b2d1df469b Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 2 May 2017 22:47:12 -0700 Subject: openbsd: Use provided recallocarray instead of patching with explicit_bzero When I originally looked at this, I only saw the malloc-internal implementation, but it looks like they have left the original standalone recallocarray.c implementation. --- pkg/openbsd/include/stdlib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/openbsd/include') diff --git a/pkg/openbsd/include/stdlib.h b/pkg/openbsd/include/stdlib.h index 0e1aa252..6a07cadf 100644 --- a/pkg/openbsd/include/stdlib.h +++ b/pkg/openbsd/include/stdlib.h @@ -1,6 +1,7 @@ #include_next #include void *reallocarray(void *, size_t, size_t); +void *recallocarray(void *, size_t, size_t, size_t); long long strtonum(const char *, long long, long long, const char **); uint32_t arc4random(void); uint32_t arc4random_uniform(uint32_t); -- cgit v1.2.3