1
0
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:
wm4 2018-03-07 22:32:32 +01:00 committed by Kevin Mitchell
parent 8ecd404264
commit 93fb79166b
2 changed files with 1 additions and 2 deletions

View File

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

View File

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