mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
*/*: 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:
parent
4266461079
commit
acd546f01e
4 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue