diff options
Diffstat (limited to 'player')
-rw-r--r-- | player/core.h | 1 | ||||
-rw-r--r-- | player/misc.c | 2 |
2 files changed, 1 insertions, 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 |