aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include/stdlib.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-11-24 22:34:15 +0000
committerJeff Johnston <jjohnstn@redhat.com>2004-11-24 22:34:15 +0000
commitc41a1cb7d8162094bec6f41e9a82900be1419b0f (patch)
treef750bc569041aafc2c62f972361eb9ed567b8737 /newlib/libc/include/stdlib.h
parent16ac96ee6995fa023a32794333cf997fb695cd25 (diff)
downloadnewlib-c41a1cb7d8162094bec6f41e9a82900be1419b0f.zip
newlib-c41a1cb7d8162094bec6f41e9a82900be1419b0f.tar.gz
newlib-c41a1cb7d8162094bec6f41e9a82900be1419b0f.tar.bz2
2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdlib.h (putenv, _putenv_r): Change to remove const for value string parameter. * libc/stdlib/putenv.c: Ditto. * libc/stdlib/putenv_r.c: Ditto.
Diffstat (limited to 'newlib/libc/include/stdlib.h')
-rw-r--r--newlib/libc/include/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h
index 9354b1e..e75558d 100644
--- a/newlib/libc/include/stdlib.h
+++ b/newlib/libc/include/stdlib.h
@@ -129,8 +129,8 @@ char * _EXFUN(l64a,(long __input));
char * _EXFUN(_l64a_r,(struct _reent *,long __input));
int _EXFUN(on_exit,(_VOID (*__func)(int, _PTR),_PTR __arg));
_VOID _EXFUN(_Exit,(int __status) _ATTRIBUTE ((noreturn)));
-int _EXFUN(putenv,(const char *__string));
-int _EXFUN(_putenv_r,(struct _reent *, const char *__string));
+int _EXFUN(putenv,(char *__string));
+int _EXFUN(_putenv_r,(struct _reent *, char *__string));
int _EXFUN(setenv,(const char *__string, const char *__value, int __overwrite));
int _EXFUN(_setenv_r,(struct _reent *, const char *__string, const char *__value, int __overwrite));