about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-10 15:57:48 +0000
committerMiles Bader <miles@gnu.org>1996-05-10 15:57:48 +0000
commit4392fd309a78064e5b6d873fc8b2d66c358d7e77 (patch)
treec3217b67bb5afd0abe16934a94fed952e0e31f1a /string
parente91ce32f3c76753bdac7c3efdb2d710cff981662 (diff)
downloadglibc-4392fd309a78064e5b6d873fc8b2d66c358d7e77.tar.gz
glibc-4392fd309a78064e5b6d873fc8b2d66c358d7e77.tar.xz
glibc-4392fd309a78064e5b6d873fc8b2d66c358d7e77.zip
(envz_get): Remove const from return type.
Diffstat (limited to 'string')
-rw-r--r--string/argz-create.c2
-rw-r--r--string/envz.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/string/argz-create.c b/string/argz-create.c
index 2eea91162e..1b4b6068f5 100644
--- a/string/argz-create.c
+++ b/string/argz-create.c
@@ -26,7 +26,7 @@
    ARGZ, and the total length in LEN.  If a memory allocation error occurs,
    ENOMEM is returned, otherwise 0.  */
 error_t
-__argz_create (char *const argv[], char **argz, size_t *len)
+__argz_create (char *argv[], char **argz, size_t *len)
 {
   int argc;
   size_t tlen = 0;
diff --git a/string/envz.c b/string/envz.c
index 447b9e03b1..5bba829f81 100644
--- a/string/envz.c
+++ b/string/envz.c
@@ -57,7 +57,7 @@ envz_entry (const char *envz, size_t envz_len, const char *name)
 
 /* Returns a pointer to the value portion of the entry in ENVZ for NAME, or 0
    if there is none.  */
-const char *
+char *
 envz_get (const char *envz, size_t envz_len, const char *name)
 {
   const char *entry = envz_entry (envz, envz_len, name);