summaryrefslogtreecommitdiffstats
path: root/m_config.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-25 22:32:28 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-25 22:32:28 +0000
commit42096a34d53b725eabfe90a59b1e3c2cee6cda9c (patch)
tree11f15b84f3cc9ded909cfb820b22d2864f2e3803 /m_config.c
parentb99077dc4c5a160ad3f70b0ae33c63bd62e19a96 (diff)
downloadmpv-42096a34d53b725eabfe90a59b1e3c2cee6cda9c.tar.bz2
mpv-42096a34d53b725eabfe90a59b1e3c2cee6cda9c.tar.xz
Make more option-parsing related function arguments const.
Prerequisite for making stream_open filename const in a proper way. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30737 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_config.c')
-rw-r--r--m_config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/m_config.c b/m_config.c
index 19a78264e6..2c2ca0fc08 100644
--- a/m_config.c
+++ b/m_config.c
@@ -37,10 +37,10 @@
#define MAX_PROFILE_DEPTH 20
static int
-parse_profile(const m_option_t *opt, const char *name, char *param, void *dst, int src);
+parse_profile(const m_option_t *opt, const char *name, const char *param, void *dst, int src);
static void
-set_profile(const m_option_t *opt, void* dst, void* src);
+set_profile(const m_option_t *opt, void* dst, const void* src);
static int
show_profile(m_option_t *opt, char* name, char *param);
@@ -515,7 +515,7 @@ m_config_set_profile(m_config_t* config, m_profile_t* p) {
}
static int
-parse_profile(const m_option_t *opt, const char *name, char *param, void *dst, int src)
+parse_profile(const m_option_t *opt, const char *name, const char *param, void *dst, int src)
{
m_config_t* config = opt->priv;
char** list = NULL;
@@ -551,7 +551,7 @@ parse_profile(const m_option_t *opt, const char *name, char *param, void *dst, i
}
static void
-set_profile(const m_option_t *opt, void *dst, void *src) {
+set_profile(const m_option_t *opt, void *dst, const void *src) {
m_config_t* config = opt->priv;
m_profile_t* p;
char** list = NULL;