Explorar el Código

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

Peter S. Mazinger hace 20 años
padre
commit
7a79b1da0c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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