Add fls() to libstand

Although we don't use it in tree yet libstand is installed as user-
facing /usr/liblibstand.a, and some work in progress makes use of it.
Instead of conflicting with ongoing libstand Makefile deduplication,
just add it now.
This commit is contained in:
emaste 2016-01-06 17:33:32 +00:00
parent 76cb3b3502
commit 23dbf7923c

View File

@ -38,8 +38,9 @@ SRCS+= ntoh.c
# string functions from libc # string functions from libc
.PATH: ${LIBC_SRC}/string .PATH: ${LIBC_SRC}/string
SRCS+= bcmp.c bcopy.c bzero.c ffs.c memccpy.c memchr.c memcmp.c memcpy.c \ SRCS+= bcmp.c bcopy.c bzero.c ffs.c fls.c \
memmove.c memset.c qdivrem.c strcat.c strchr.c strcmp.c strcpy.c \ memccpy.c memchr.c memcmp.c memcpy.c memmove.c memset.c \
qdivrem.c strcat.c strchr.c strcmp.c strcpy.c \
strcspn.c strlcat.c strlcpy.c strlen.c strncat.c strncmp.c strncpy.c \ strcspn.c strlcat.c strlcpy.c strlen.c strncat.c strncmp.c strncpy.c \
strpbrk.c strrchr.c strsep.c strspn.c strstr.c strtok.c swab.c strpbrk.c strrchr.c strsep.c strspn.c strstr.c strtok.c swab.c
.if ${MACHINE_CPUARCH} == "arm" .if ${MACHINE_CPUARCH} == "arm"