Browse Source

Use correct syntax, correct weak/strong for [__]strxfrm

Peter S. Mazinger 20 years ago
parent
commit
7a79b1da0c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      libc/string/strlcpy.c

+ 2 - 1
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