OSDN Git Service

2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
authorjjohnstn <jjohnstn>
Wed, 24 Nov 2004 22:34:12 +0000 (22:34 +0000)
committerjjohnstn <jjohnstn>
Wed, 24 Nov 2004 22:34:12 +0000 (22:34 +0000)
        * 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.

newlib/ChangeLog
newlib/libc/include/stdlib.h
newlib/libc/stdlib/putenv.c
newlib/libc/stdlib/putenv_r.c

index a4c5505..efac7a6 100644 (file)
@@ -1,5 +1,12 @@
 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.
+
+2004-11-24  Jeff Johnston  <jjohnstn@redhat.com>
+
        * libc/stdio/Makefile.am: Fix missing vfscanf.
        * libc/stdio/Makefile.in: Regenerated.
                                                                                 
index 9354b1e..e75558d 100644 (file)
@@ -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));
 
index 8ee67d7..978f7c5 100644 (file)
@@ -24,7 +24,7 @@
 
 int
 _DEFUN (putenv, (str),
-       _CONST char *str)
+       char *str)
 {
   return _putenv_r (_REENT, str);
 }
index a03f3b0..9ba6260 100644 (file)
@@ -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;