From 3a28dbb7117315fe9db7e7887a503b87266ce0ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sun, 29 Jan 2023 13:36:05 +0100 Subject: [PATCH] osdep/io: add void to mp_penviron --- osdep/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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