diff options
| author | Michael Forney <mforney@mforney.org> | 2017-05-02 22:47:12 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2017-05-02 23:22:02 -0700 |
| commit | 73c0a90073109b3616bdbfbe6386c7b2d1df469b (patch) | |
| tree | ba4c3cdf98abb37fd31fd6000a1ee024e5e24fba /pkg/openbsd/include | |
| parent | fbf3b365dbbabbc26d9c89e71d1a47d6b7d34f4d (diff) | |
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.
Diffstat (limited to 'pkg/openbsd/include')
| -rw-r--r-- | pkg/openbsd/include/stdlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <stdlib.h> #include <stdint.h> 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); |
