소스 검색

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  */