From fbd392bcbb2d8b17ccefa79446d275caa25762d8 Mon Sep 17 00:00:00 2001 From: llyyr Date: Mon, 17 Jul 2023 20:49:04 +0530 Subject: [PATCH] loadfile: make get_audio_lang function static This fixes a build warning about missing prototypes --- player/loadfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/loadfile.c b/player/loadfile.c index a534ec6344..851413bb06 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -579,7 +579,7 @@ static char **process_langs(char **in) return out; } -const char *get_audio_lang(struct MPContext *mpctx) +static const char *get_audio_lang(struct MPContext *mpctx) { // If we have a single current audio track, this is simple. if (mpctx->current_track[0][STREAM_AUDIO])