diff options
Diffstat (limited to 'newlib/libc/stdlib/atoi.c')
-rw-r--r-- | newlib/libc/stdlib/atoi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/atoi.c b/newlib/libc/stdlib/atoi.c index 936b381..83ad241 100644 --- a/newlib/libc/stdlib/atoi.c +++ b/newlib/libc/stdlib/atoi.c @@ -48,7 +48,7 @@ No supporting OS subroutines are required. #ifndef _REENT_ONLY int _DEFUN (atoi, (s), - _CONST char *s) + const char *s) { return (int) strtol (s, NULL, 10); } @@ -57,7 +57,7 @@ _DEFUN (atoi, (s), int _DEFUN (_atoi_r, (s), struct _reent *ptr, - _CONST char *s) + const char *s) { return (int) _strtol_r (ptr, s, NULL, 10); } |