(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 2eea911..1b4b606 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 447b9e0..5bba829 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);