summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/string/strlcpy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/string/strlcpy.c b/libc/string/strlcpy.c
index ebf135490..24786c31a 100644
--- a/libc/string/strlcpy.c
+++ b/libc/string/strlcpy.c
@@ -12,7 +12,8 @@
strong_alias(__strlcpy, strlcpy)
#ifdef __LOCALE_C_ONLY
-weak_alias(strlcpy, strxfrm)
+weak_alias(__strlcpy, __strxfrm)
+strong_alias(__strxfrm, strxfrm)
#endif
#undef L_strlcpy