summaryrefslogtreecommitdiffstats
path: root/m_struct.h
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_struct.h
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_struct.h')
-rw-r--r--m_struct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/m_struct.h b/m_struct.h
index 220fa3a672..bcf09dc86f 100644
--- a/m_struct.h
+++ b/m_struct.h
@@ -88,7 +88,7 @@ m_struct_alloc(const m_struct_t* st);
* \return 0 on error, 1 on success.
*/
int
-m_struct_set(const m_struct_t* st, void* obj, char* field, char* param);
+m_struct_set(const m_struct_t* st, void* obj, const char* field, const char* param);
/// Reset a field (or all if field == NULL) to defaults.
/** \param st Struct definition.