summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--osdep/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/io.c b/osdep/io.c
index ec55aa2647..8cd6dede85 100644
--- a/osdep/io.c
+++ b/osdep/io.c
@@ -683,7 +683,7 @@ char *mp_getenv(const char *name)
return NULL;
}
-char ***mp_penviron()
+char ***mp_penviron(void)
{
mp_getenv(""); // ensure init
return &utf8_environ; // `environ' should be an l-value