From: Waldemar Kozaczuk <[email protected]> Committer: Waldemar Kozaczuk <[email protected]> Branch: master
libc: drop towlower_l and towupper_l in favor of musl copies Signed-off-by: Waldemar Kozaczuk <[email protected]> Message-Id: <[email protected]> --- diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -1057,8 +1057,8 @@ libc += locale/strxfrm_l.o musl += locale/tolower_l.o musl += locale/toupper_l.o musl += locale/towctrans_l.o -libc += locale/towlower_l.o -libc += locale/towupper_l.o +musl += locale/towlower_l.o +musl += locale/towupper_l.o libc += locale/uselocale.o libc += locale/wcscoll.o libc += locale/wcscoll_l.o diff --git a/libc/locale/towlower_l.c b/libc/locale/towlower_l.c --- a/libc/locale/towlower_l.c +++ b/libc/locale/towlower_l.c @@ -1,10 +0,0 @@ -#include <wctype.h> -#include "libc.h" - -wint_t __towlower_l(wint_t c, locale_t l) -{ - return towlower(c); -} - -/* OSv local: a libstdc++ build against glibc wants the __ version */ -weak_alias(__towlower_l, towlower_l); diff --git a/libc/locale/towupper_l.c b/libc/locale/towupper_l.c --- a/libc/locale/towupper_l.c +++ b/libc/locale/towupper_l.c @@ -1,10 +0,0 @@ -#include <wctype.h> -#include "libc.h" - -wint_t __towupper_l(wint_t c, locale_t l) -{ - return towupper(c); -} - -/* OSv local: a libstdc++ build against glibc wants the __ version */ -weak_alias(__towupper_l, towupper_l); -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/0000000000002705da05ad476bb5%40google.com.
