summaryrefslogtreecommitdiffstats
path: root/common/common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-02 17:37:28 +0100
committerwm4 <wm4@nowhere>2014-11-02 17:38:07 +0100
commit12212a1685155c67049a0f30f14b7bf789a8c093 (patch)
tree5e2e43c1730bf7ff46d45ccda2bc01f7ca9b6a03 /common/common.h
parent975e98b3fe003cb8d93d9eadc14d82e72c0f4e27 (diff)
downloadmpv-12212a1685155c67049a0f30f14b7bf789a8c093.tar.bz2
mpv-12212a1685155c67049a0f30f14b7bf789a8c093.tar.xz
common: fix version variable declarations
This was stupid.
Diffstat (limited to 'common/common.h')
-rw-r--r--common/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/common.h b/common/common.h
index b9c3e1e5ea..3e5ee1190f 100644
--- a/common/common.h
+++ b/common/common.h
@@ -60,8 +60,8 @@ enum stream_type {
STREAM_TYPE_COUNT,
};
-extern const char *mpv_version;
-extern const char *mpv_builddate;
+extern const char *const mpv_version;
+extern const char *const mpv_builddate;
char *mp_format_time(double time, bool fractions);
char *mp_format_time_fmt(const char *fmt, double time);