Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/atoi.c')
-rw-r--r--newlib/libc/stdlib/atoi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdlib/atoi.c b/newlib/libc/stdlib/atoi.c
index 83ad24177..4da53e80a 100644
--- a/newlib/libc/stdlib/atoi.c
+++ b/newlib/libc/stdlib/atoi.c
@@ -47,16 +47,14 @@ No supporting OS subroutines are required.
#ifndef _REENT_ONLY
int
-_DEFUN (atoi, (s),
- const char *s)
+atoi (const char *s)
{
return (int) strtol (s, NULL, 10);
}
#endif /* !_REENT_ONLY */
int
-_DEFUN (_atoi_r, (s),
- struct _reent *ptr,
+_atoi_r (struct _reent *ptr,
const char *s)
{
return (int) _strtol_r (ptr, s, NULL, 10);