summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-05-25 22:11:18 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:04 +0200
commit281e9982905d4ca87510bb7e0a44650c537fc610 (patch)
tree7c1caf06e6e6ca6b46265d6d0c85b6890867eda5
parent2c3c6aae66ec606eeb26593f94079b3e920df237 (diff)
downloadmpv-281e9982905d4ca87510bb7e0a44650c537fc610.tar.bz2
mpv-281e9982905d4ca87510bb7e0a44650c537fc610.tar.xz
player: make a function static
-rw-r--r--player/core.h1
-rw-r--r--player/misc.c2
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