mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 18:12:22 +00:00
scripting: make a function static
This commit is contained in:
parent
8ecd404264
commit
93fb79166b
@ -586,7 +586,6 @@ struct mp_scripting {
|
||||
};
|
||||
void mp_load_scripts(struct MPContext *mpctx);
|
||||
void mp_load_builtin_scripts(struct MPContext *mpctx);
|
||||
int mp_load_script(struct MPContext *mpctx, const char *fname);
|
||||
int mp_load_user_script(struct MPContext *mpctx, const char *fname);
|
||||
|
||||
// sub.c
|
||||
|
@ -107,7 +107,7 @@ static void wait_loaded(struct MPContext *mpctx)
|
||||
mp_wakeup_core(mpctx); // avoid lost wakeups during waiting
|
||||
}
|
||||
|
||||
int mp_load_script(struct MPContext *mpctx, const char *fname)
|
||||
static int mp_load_script(struct MPContext *mpctx, const char *fname)
|
||||
{
|
||||
char *ext = mp_splitext(fname, NULL);
|
||||
const struct mp_scripting *backend = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user