summaryrefslogtreecommitdiffstats
path: root/player/scripting.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-03-07 22:32:32 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-03-08 17:12:32 -0800
commit93fb79166b4154281c66df3201cf55d9d0986fc5 (patch)
tree42ff81d66dd07c29b0ecd879a30e65329e146390 /player/scripting.c
parent8ecd404264f2dbf885403fa1e569b0ab45496f60 (diff)
downloadmpv-93fb79166b4154281c66df3201cf55d9d0986fc5.tar.bz2
mpv-93fb79166b4154281c66df3201cf55d9d0986fc5.tar.xz
scripting: make a function static
Diffstat (limited to 'player/scripting.c')
-rw-r--r--player/scripting.c2
1 files changed, 1 insertions, 1 deletions
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;