From 5f22f458db8e12aa43f12b7298874d5b17cd6fd0 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 14 Jan 2006 01:06:42 +0000 Subject: Correct atoi() --- libc/stdlib/stdlib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/stdlib') diff --git a/libc/stdlib/stdlib.c b/libc/stdlib/stdlib.c index 42ebaa47b..251655323 100644 --- a/libc/stdlib/stdlib.c +++ b/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 */ -- cgit v1.2.3