diff options
| author | Michael Forney <mforney@mforney.org> | 2021-05-02 23:00:11 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2021-05-02 23:00:11 -0700 |
| commit | a5c305dc398e22ff1d9b1888ecbc8a4a40ce87bd (patch) | |
| tree | 014d80d2b425d4ff6d07dee61fe7ecb035fa0979 /pkg/openbsd | |
| parent | 7eea82569c1ddd6d1f1e3979b20e51f0e4cd6fa1 (diff) | |
openbsd: Use reallocarray from musl
Diffstat (limited to 'pkg/openbsd')
| -rw-r--r-- | pkg/openbsd/gen.lua | 2 | ||||
| -rw-r--r-- | pkg/openbsd/include/stdlib.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/pkg/openbsd/gen.lua b/pkg/openbsd/gen.lua index 2f7a4854..f25142a3 100644 --- a/pkg/openbsd/gen.lua +++ b/pkg/openbsd/gen.lua @@ -27,7 +27,7 @@ lib('libbsd.a', [[ crypt/(arc4random.c.o arc4random_uniform.c) gen/(fts.c getprogname.c pwcache.c readpassphrase.c setprogname.c unvis.c vis.c warnc.c vwarnc.c) net/base64.c - stdlib/(freezero.c reallocarray.c recallocarray.c strtonum.c) + stdlib/(freezero.c recallocarray.c strtonum.c) string/(strmode.c timingsafe_bcmp.c timingsafe_memcmp.c) ) lib/libutil/ohash.c diff --git a/pkg/openbsd/include/stdlib.h b/pkg/openbsd/include/stdlib.h index 652bba42..75683d90 100644 --- a/pkg/openbsd/include/stdlib.h +++ b/pkg/openbsd/include/stdlib.h @@ -1,7 +1,6 @@ #include_next <stdlib.h> #include <stdint.h> void freezero(void *, size_t); -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); |
