*/*: 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
This commit is contained in:
@@ -8,7 +8,7 @@ INTERNALLIB= # API not published or supported.
|
|||||||
|
|
||||||
SRCS= diff_atomize_text.c diff_main.c diff_myers.c \
|
SRCS= diff_atomize_text.c diff_main.c diff_myers.c \
|
||||||
diff_patience.c diff_output.c diff_output_plain.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=
|
WARNS=
|
||||||
CFLAGS+= -I${SRCTOP}/contrib/libdiff/compat/include
|
CFLAGS+= -I${SRCTOP}/contrib/libdiff/compat/include
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ SRCS+= u2f.c
|
|||||||
SRCS+= util.c
|
SRCS+= util.c
|
||||||
|
|
||||||
SRCS+= openbsd-compat/freezero.c
|
SRCS+= openbsd-compat/freezero.c
|
||||||
SRCS+= openbsd-compat/recallocarray.c
|
|
||||||
|
|
||||||
CFLAGS+= -I ${DIST}/src -I${SRCTOP}/contrib/libcbor/src -I${.CURDIR}/../libcbor
|
CFLAGS+= -I ${DIST}/src -I${SRCTOP}/contrib/libcbor/src -I${.CURDIR}/../libcbor
|
||||||
CFLAGS+= -D_FIDO_INTERNAL
|
CFLAGS+= -D_FIDO_INTERNAL
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ TESTSDIR= ${TESTSBASE}/cddl/oclo
|
|||||||
PLAIN_TESTS_C= oclo oclo_errors ocloexec_verify
|
PLAIN_TESTS_C= oclo oclo_errors ocloexec_verify
|
||||||
|
|
||||||
SRCS.oclo= oclo.c
|
SRCS.oclo= oclo.c
|
||||||
LIBADD.oclo+= openbsd
|
|
||||||
LIBADD.ocloexec_verify+= util
|
LIBADD.ocloexec_verify+= util
|
||||||
|
|
||||||
.include <bsd.test.mk>
|
.include <bsd.test.mk>
|
||||||
|
|||||||
@@ -60,8 +60,7 @@ LIB_SRCS= ${LIBMAN_SRCS} \
|
|||||||
mandoc_xr.c \
|
mandoc_xr.c \
|
||||||
msec.c \
|
msec.c \
|
||||||
preconv.c \
|
preconv.c \
|
||||||
read.c \
|
read.c
|
||||||
compat_recallocarray.c \
|
|
||||||
|
|
||||||
HTML_SRCS= eqn_html.c \
|
HTML_SRCS= eqn_html.c \
|
||||||
html.c \
|
html.c \
|
||||||
|
|||||||
Reference in New Issue
Block a user