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:
authorJeff Johnston <jjohnstn@redhat.com>2004-11-25 01:34:15 +0300
committerJeff Johnston <jjohnstn@redhat.com>2004-11-25 01:34:15 +0300
commitc41a1cb7d8162094bec6f41e9a82900be1419b0f (patch)
treef750bc569041aafc2c62f972361eb9ed567b8737 /newlib/libc/stdlib
parent16ac96ee6995fa023a32794333cf997fb695cd25 (diff)
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/stdlib')
-rw-r--r--newlib/libc/stdlib/putenv.c2
-rw-r--r--newlib/libc/stdlib/putenv_r.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/putenv.c b/newlib/libc/stdlib/putenv.c
index 8ee67d7d5..978f7c5d6 100644
--- a/newlib/libc/stdlib/putenv.c
+++ b/newlib/libc/stdlib/putenv.c
@@ -24,7 +24,7 @@
int
_DEFUN (putenv, (str),
- _CONST char *str)
+ char *str)
{
return _putenv_r (_REENT, str);
}
diff --git a/newlib/libc/stdlib/putenv_r.c b/newlib/libc/stdlib/putenv_r.c
index a03f3b007..9ba626025 100644
--- a/newlib/libc/stdlib/putenv_r.c
+++ b/newlib/libc/stdlib/putenv_r.c
@@ -33,7 +33,7 @@
int
_DEFUN (_putenv_r, (reent_ptr, str),
struct _reent *reent_ptr _AND
- _CONST char *str)
+ char *str)
{
register char *p, *equal;
int rval;