diff options
-rw-r--r-- | player/core.h | 1 | ||||
-rw-r--r-- | player/scripting.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/player/core.h b/player/core.h index bfc5f662a4..25c006f2e4 100644 --- a/player/core.h +++ b/player/core.h @@ -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 diff --git a/player/scripting.c b/player/scripting.c index 38e8809020..db622f0fe8 100644 --- a/player/scripting.c +++ b/player/scripting.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; |