aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/atol.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/atol.c')
-rw-r--r--newlib/libc/stdlib/atol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/atol.c b/newlib/libc/stdlib/atol.c
index 8c2f556..cad512f 100644
--- a/newlib/libc/stdlib/atol.c
+++ b/newlib/libc/stdlib/atol.c
@@ -7,14 +7,14 @@
#ifndef _REENT_ONLY
long
-_DEFUN (atol, (s), _CONST char *s)
+_DEFUN (atol, (s), const char *s)
{
return strtol (s, NULL, 10);
}
#endif /* !_REENT_ONLY */
long
-_DEFUN (_atol_r, (ptr, s), struct _reent *ptr, _CONST char *s)
+_DEFUN (_atol_r, (ptr, s), struct _reent *ptr, const char *s)
{
return _strtol_r (ptr, s, NULL, 10);
}