1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00

osdep/io: add void to mp_penviron

This commit is contained in:
Kacper Michajłow 2023-01-29 13:36:05 +01:00 committed by Dudemanguy
parent ebf34ffad3
commit 3a28dbb711

View File

@ -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