aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);