]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(envz_get): Remove const from return type.
authorMiles Bader <miles@gnu.org>
Fri, 10 May 1996 15:57:48 +0000 (15:57 +0000)
committerMiles Bader <miles@gnu.org>
Fri, 10 May 1996 15:57:48 +0000 (15:57 +0000)
string/argz-create.c
string/envz.c

index 2eea91162eba7e9b70b8c1164af015031b72c730..1b4b6068f52690188e5fc8d9dc7da3da35df4024 100644 (file)
@@ -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;
index 447b9e03b1571c0c869f74f84652cbe31f82bcc2..5bba829f81ac480297d80192d69ea56d599cfd42 100644 (file)
@@ -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);