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:
parent
ebf34ffad3
commit
3a28dbb711
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user