summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-06 14:46:53 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-06 14:46:53 +0000
commit7a79b1da0c124fb642658c3698a38fdd9e77eb01 (patch)
treed320ee5470aa4bea510507ef7dcda89c4c3d9de4 /libc/string
parent96cbd4c11d19145e3bf33c7baa73208b4d7dcc81 (diff)
Use correct syntax, correct weak/strong for [__]strxfrm
Diffstat (limited to 'libc/string')
-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