Explorar o código

Correct atoi()

Peter S. Mazinger %!s(int64=20) %!d(string=hai) anos
pai
achega
5f22f458db
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      libc/stdlib/stdlib.c

+ 2 - 1
libc/stdlib/stdlib.c

@@ -267,7 +267,8 @@ int atoi(const char *nptr)
 {
 	return (int) strtol(nptr, (char **) NULL, 10);
 }
-strong_alias(__atoi,atoi)
+libc_hidden_proto(atoi)
+libc_hidden_def(atoi)
 
 #endif /* INT_MAX < LONG_MAX  */