فهرست منبع

Correct atoi()

Peter S. Mazinger 20 سال پیش
والد
کامیت
5f22f458db
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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  */