diff options
author | Thomas Bushnell, BSG <thomas@gnu.org> | 1996-05-10 21:33:50 +0000 |
---|---|---|
committer | Thomas Bushnell, BSG <thomas@gnu.org> | 1996-05-10 21:33:50 +0000 |
commit | 9635799df391c773651b13dd2a2864f851534071 (patch) | |
tree | d52e7a12beede3eb68c5f6eccc688817050b2c27 | |
parent | 6e85aaf798e8dc6896e15218557fd95eca68900c (diff) | |
download | glibc-9635799df391c773651b13dd2a2864f851534071.tar.gz |
*** empty log message ***
* string/envz.c (envz_get): Don't declare ENTRY const.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | string/envz.c | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,8 @@ Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> ARGV parm. * string/argz.h (__argz_create, argz_create): Restore const keyword. - + * string/envz.c (envz_get): Don't declare ENTRY const. + Fri May 10 11:48:03 1996 Miles Bader <miles@gnu.ai.mit.edu> * string/argz.h (argz_create): Fix param type. diff --git a/string/envz.c b/string/envz.c index 5bba829f81..e1487043e3 100644 --- a/string/envz.c +++ b/string/envz.c @@ -60,7 +60,7 @@ envz_entry (const char *envz, size_t envz_len, const char *name) char * envz_get (const char *envz, size_t envz_len, const char *name) { - const char *entry = envz_entry (envz, envz_len, name); + char *entry = envz_entry (envz, envz_len, name); if (entry) { while (*entry && *entry != SEP) |