From 281e9982905d4ca87510bb7e0a44650c537fc610 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 25 May 2019 22:11:18 +0200 Subject: player: make a function static --- player/core.h | 1 - player/misc.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/player/core.h b/player/core.h index d2183a7537..0294b77025 100644 --- a/player/core.h +++ b/player/core.h @@ -551,7 +551,6 @@ void mp_update_logging(struct MPContext *mpctx, bool preinit); void issue_refresh_seek(struct MPContext *mpctx, enum seek_precision min_prec); // misc.c -double rel_time_to_abs(struct MPContext *mpctx, struct m_rel_time t); double get_play_end_pts(struct MPContext *mpctx); double get_play_start_pts(struct MPContext *mpctx); double get_ab_loop_start_time(struct MPContext *mpctx); diff --git a/player/misc.c b/player/misc.c index 633ec6917d..ec8812f773 100644 --- a/player/misc.c +++ b/player/misc.c @@ -45,7 +45,7 @@ #include "core.h" #include "command.h" -double rel_time_to_abs(struct MPContext *mpctx, struct m_rel_time t) +static double rel_time_to_abs(struct MPContext *mpctx, struct m_rel_time t) { double length = get_time_length(mpctx); // declaration up here because of C grammar quirk -- cgit v1.2.3