aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/getenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/getenv.c')
-rw-r--r--newlib/libc/stdlib/getenv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/getenv.c b/newlib/libc/stdlib/getenv.c
index 2d394e2..973a547 100644
--- a/newlib/libc/stdlib/getenv.c
+++ b/newlib/libc/stdlib/getenv.c
@@ -65,7 +65,7 @@ variables vary from one system to another.
char *
_DEFUN (_findenv, (name, offset),
- register _CONST char *name,
+ register const char *name,
int *offset)
{
return _findenv_r (_REENT, name, offset);
@@ -78,7 +78,7 @@ _DEFUN (_findenv, (name, offset),
char *
_DEFUN (getenv, (name),
- _CONST char *name)
+ const char *name)
{
int offset;