Signed-off-by: Waldemar Kozaczuk <[email protected]>
---
Makefile | 4 ++--
libc/locale/towlower_l.c | 10 ----------
libc/locale/towupper_l.c | 10 ----------
3 files changed, 2 insertions(+), 22 deletions(-)
delete mode 100644 libc/locale/towlower_l.c
delete mode 100644 libc/locale/towupper_l.c
diff --git a/Makefile b/Makefile
index 7ec0cbb8..a4cdcf55 100644
--- 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
deleted file mode 100644
index 2360ca21..00000000
--- a/libc/locale/towlower_l.c
+++ /dev/null
@@ -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
deleted file mode 100644
index 8b4a164a..00000000
--- a/libc/locale/towupper_l.c
+++ /dev/null
@@ -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);
--
2.26.2
--
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/20200815042719.51117-3-jwkozaczuk%40gmail.com.