OSDN Git Service

Use correct syntax, correct weak/strong for [__]strxfrm
authorPeter S. Mazinger <ps.m@gmx.net>
Tue, 6 Dec 2005 14:46:53 +0000 (14:46 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Tue, 6 Dec 2005 14:46:53 +0000 (14:46 -0000)
libc/string/strlcpy.c

index ebf1354..24786c3 100644 (file)
@@ -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