aboutsummaryrefslogtreecommitdiff
path: root/string/envz.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/envz.c')
-rw-r--r--string/envz.c2
1 files changed, 1 insertions, 1 deletions
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);