opnsense-src/lib/libc/amd64/string/Makefile.inc
Robert Clausecker 62f73a711e lib/libc/amd64/string: implement strnlen(3) trough memchr(3)
Now that we have an optimised memchr(3), we can use it to implement
strnlen(3) with better perofrmance.

Sponsored by:	The FreeBSD Foundation
Approved by:	mjg
MFC after:	1 week
MFC to:		stable/14
Differential Revision:	https://reviews.freebsd.org/D41598

(cherry picked from commit 331737281c1929c29e679e48783055351ac4fbd9)
2023-09-23 14:21:37 -04:00

18 lines
215 B
Makefile

MDSRCS+= \
amd64_archlevel.c \
bcmp.S \
memchr.S \
memcmp.S \
memcpy.S \
memmove.S \
memset.S \
stpcpy.S \
strcat.S \
strchrnul.S \
strcmp.S \
strcpy.c \
strcspn.S \
strlen.S \
strnlen.c \
strspn.S