]> xenbits.xensource.com Git - unikraft/libs/musl.git/commitdiff
Include missing parts of the string library
authorAndrei Tatar <andrei@unikraft.io>
Wed, 7 Jun 2023 09:07:17 +0000 (11:07 +0200)
committerUnikraft <monkey@unikraft.io>
Mon, 7 Aug 2023 12:49:09 +0000 (12:49 +0000)
The string part of libc was previously missing <memory.h> and
explicit_bzero.c, which this change fixes.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #55

Makefile.uk.musl.string

index 17cffa1db9400b740d8f5201f980fd5326fa8af1..7b5b83ff68f8c8a9f5c6a1d027fd92bcc8212074 100644 (file)
@@ -4,6 +4,7 @@ LIBMUSL_STRING_HDRS-y += $(LIBMUSL)/include/errno.h
 LIBMUSL_STRING_HDRS-y += $(LIBMUSL)/src/internal/libc.h
 LIBMUSL_STRING_HDRS-y += $(LIBMUSL)/include/limits.h
 LIBMUSL_STRING_HDRS-y += $(LIBMUSL)/src/internal/locale_impl.h
+LIBMUSL_STRING_HDRS-y += $(LIBMUSL)/include/memory.h
 LIBMUSL_STRING_HDRS-y += $(LIBMUSL)/include/signal.h
 LIBMUSL_STRING_HDRS-y += $(LIBMUSL)/include/stdint.h
 LIBMUSL_STRING_HDRS-y += $(LIBMUSL)/include/stdlib.h
@@ -16,6 +17,7 @@ LIBMUSL_STRING_HDRS-y += $(LIBMUSL)/include/wctype.h
 LIBMUSL_STRING_SRCS-y += $(LIBMUSL)/src/string/bcmp.c
 LIBMUSL_STRING_SRCS-y += $(LIBMUSL)/src/string/bcopy.c
 LIBMUSL_STRING_SRCS-y += $(LIBMUSL)/src/string/bzero.c
+LIBMUSL_STRING_SRCS-y += $(LIBMUSL)/src/string/explicit_bzero.c
 LIBMUSL_STRING_SRCS-y += $(LIBMUSL)/src/string/index.c
 LIBMUSL_STRING_SRCS-y += $(LIBMUSL)/src/string/memccpy.c
 LIBMUSL_STRING_SRCS-y += $(LIBMUSL)/src/string/memchr.c