summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/strcmp.c2
-rw-r--r--libc/string/wcscmp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/strcmp.c b/libc/string/strcmp.c
index 654ca302a..5cdbe6f73 100644
--- a/libc/string/strcmp.c
+++ b/libc/string/strcmp.c
@@ -13,7 +13,7 @@ strong_alias(__strcmp, strcmp)
#ifdef __LOCALE_C_ONLY
weak_alias(__strcmp, __strcoll)
-strong_alias(__strcoll, strcoll)
+weak_alias(__strcmp, strcoll)
#endif
#undef L_strcmp
diff --git a/libc/string/wcscmp.c b/libc/string/wcscmp.c
index 5501a4dac..505148140 100644
--- a/libc/string/wcscmp.c
+++ b/libc/string/wcscmp.c
@@ -14,7 +14,7 @@ strong_alias(__wcscmp, wcscmp)
#ifdef __LOCALE_C_ONLY
weak_alias(__wcscmp, __wcscoll)
-strong_alias(__wcscoll, wcscoll)
+weak_alias(__wcscmp, wcscoll)
#endif
#undef L_strcmp