Explorar el Código

Correct atoi()

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