* environ.cc (putenv): Accommodate recent newlib change in argument to putenv.

This commit is contained in:
Christopher Faylor 2004-11-26 04:21:47 +00:00
parent 8cb359d947
commit 6903729981
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-11-25 Christopher Faylor <cgf@timesys.com>
* environ.cc (putenv): Accommodate recent newlib change in argument to
putenv.
2004-11-25 Christopher Faylor <cgf@timesys.com>
* child_info.h (child_info_spawn::hexec_proc): Eliminate.

View File

@ -292,7 +292,7 @@ _addenv (const char *name, const char *value, int overwrite)
/* putenv Sets an environment variable */
extern "C" int
putenv (const char *str)
putenv (char *str)
{
int res;
if ((res = check_null_empty_str (str)))