diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 01:06:42 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 01:06:42 +0000 |
commit | 5f22f458db8e12aa43f12b7298874d5b17cd6fd0 (patch) | |
tree | 0fc2227509b2fd830f302b5011fcc53d5b3abb7b /libc/stdlib | |
parent | 46b0d6acb30fb606dd0afd10965acf390f22a6c4 (diff) |
Correct atoi()
Diffstat (limited to 'libc/stdlib')
-rw-r--r-- | libc/stdlib/stdlib.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |