Add `exit` variant to _Exit.c to prevent symbol conflicts. This
is necessary since some file systems are case insensitive, and it could
otherwise lead to a conflict with the object resulted from _exit.c
Signed-off-by: Eduard-Florin Mihailescu <mihailescu.eduard@gmail.com>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Simon Kuenzer <simon@unikraft.io>
Approved-by: Simon Kuenzer <simon@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #70
LIBMUSL_EXIT_SRCS-y += $(LIBMUSL)/src/exit/atexit.c
LIBMUSL_EXIT_SRCS-y += $(LIBMUSL)/src/exit/at_quick_exit.c
LIBMUSL_EXIT_SRCS-y += $(LIBMUSL)/src/exit/exit.c
-LIBMUSL_EXIT_SRCS-y += $(LIBMUSL)/src/exit/_Exit.c
+LIBMUSL_EXIT_SRCS-y += $(LIBMUSL)/src/exit/_Exit.c|exit
LIBMUSL_EXIT_SRCS-y += $(LIBMUSL)/src/exit/quick_exit.c
$(eval $(call _libmusl_import_lib,exit,$(LIBMUSL_EXIT_HDRS-y),$(LIBMUSL_EXIT_SRCS-y)))