From 93fb79166b4154281c66df3201cf55d9d0986fc5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 7 Mar 2018 22:32:32 +0100 Subject: scripting: make a function static --- player/scripting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/scripting.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; -- cgit v1.2.3