Signed-off-by: Waldemar Kozaczuk <[email protected]>
---
Makefile | 3 +--
libc/locale/wcscoll.c | 7 -------
libc/locale/wcscoll_l.c | 10 ----------
3 files changed, 1 insertion(+), 19 deletions(-)
delete mode 100644 libc/locale/wcscoll.c
delete mode 100644 libc/locale/wcscoll_l.c
diff --git a/Makefile b/Makefile
index 358b758a..3750338b 100644
--- a/Makefile
+++ b/Makefile
@@ -1060,8 +1060,7 @@ musl += locale/towctrans_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
+musl += locale/wcscoll.o
libc += locale/wcsftime_l.o
musl += locale/wcsxfrm.o
musl += locale/wctrans_l.o
diff --git a/libc/locale/wcscoll.c b/libc/locale/wcscoll.c
deleted file mode 100644
index cdbce1c2..00000000
--- a/libc/locale/wcscoll.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <wchar.h>
-
-/* FIXME: stub */
-int wcscoll(const wchar_t *l, const wchar_t *r)
-{
- return wcscmp(l, r);
-}
diff --git a/libc/locale/wcscoll_l.c b/libc/locale/wcscoll_l.c
deleted file mode 100644
index 5c5cdb65..00000000
--- a/libc/locale/wcscoll_l.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <wchar.h>
-#include "libc.h"
-
-int __wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale)
-{
- return wcscoll(l, r);
-}
-
-/* OSv local: a libstdc++ build against glibc wants the __ version */
-weak_alias(__wcscoll_l, wcscoll_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-6-jwkozaczuk%40gmail.com.