aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2025-10-02 14:36:13 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2025-10-03 17:47:52 +0000
commitacd546f01e58354af049455472980c6c4a52e18b (patch)
treef08036f5363ae00f0df7a0e2c7d7ef7efac5b411
parent42664610795bc0a728851ba6223fcf9b93801167 (diff)
*/*: remove recallocarray() compat shims following import into libc
libopenbsd retains recallocarray() during bootstrapping for now as it is needed for mandoc. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D52864
-rw-r--r--lib/libdiff/Makefile2
-rw-r--r--lib/libfido2/Makefile1
-rw-r--r--tests/oclo/Makefile1
-rw-r--r--usr.bin/mandoc/Makefile3
4 files changed, 2 insertions, 5 deletions
diff --git a/lib/libdiff/Makefile b/lib/libdiff/Makefile
index 8541ff424de2..25f849a69e05 100644
--- a/lib/libdiff/Makefile
+++ b/lib/libdiff/Makefile
@@ -8,7 +8,7 @@ INTERNALLIB= # API not published or supported.
SRCS= diff_atomize_text.c diff_main.c diff_myers.c \
diff_patience.c diff_output.c diff_output_plain.c \
- diff_output_unidiff.c diff_output_edscript.c recallocarray.c
+ diff_output_unidiff.c diff_output_edscript.c
WARNS=
CFLAGS+= -I${SRCTOP}/contrib/libdiff/compat/include
diff --git a/lib/libfido2/Makefile b/lib/libfido2/Makefile
index 10c008967e3d..021a32dd514b 100644
--- a/lib/libfido2/Makefile
+++ b/lib/libfido2/Makefile
@@ -43,7 +43,6 @@ SRCS+= u2f.c
SRCS+= util.c
SRCS+= openbsd-compat/freezero.c
-SRCS+= openbsd-compat/recallocarray.c
CFLAGS+= -I ${DIST}/src -I${SRCTOP}/contrib/libcbor/src -I${.CURDIR}/../libcbor
CFLAGS+= -D_FIDO_INTERNAL
diff --git a/tests/oclo/Makefile b/tests/oclo/Makefile
index 350c9f857c85..6f73aec0ff7c 100644
--- a/tests/oclo/Makefile
+++ b/tests/oclo/Makefile
@@ -5,7 +5,6 @@ TESTSDIR= ${TESTSBASE}/cddl/oclo
PLAIN_TESTS_C= oclo oclo_errors ocloexec_verify
SRCS.oclo= oclo.c
-LIBADD.oclo+= openbsd
LIBADD.ocloexec_verify+= util
.include <bsd.test.mk>
diff --git a/usr.bin/mandoc/Makefile b/usr.bin/mandoc/Makefile
index 2c7c3ed85040..181d4e16c8ee 100644
--- a/usr.bin/mandoc/Makefile
+++ b/usr.bin/mandoc/Makefile
@@ -60,8 +60,7 @@ LIB_SRCS= ${LIBMAN_SRCS} \
mandoc_xr.c \
msec.c \
preconv.c \
- read.c \
- compat_recallocarray.c \
+ read.c
HTML_SRCS= eqn_html.c \
html.c \