Commit 7f66f002 authored by Maxime Meissonnier's avatar Maxime Meissonnier Committed by Thomas Guillem

config: constify config chain in config_ChainParse

Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent 88589748
......@@ -342,7 +342,7 @@ struct config_chain_t
*
* The option names will be created by adding the psz_prefix prefix.
*/
VLC_API void config_ChainParse( vlc_object_t *, const char *psz_prefix, const char *const *ppsz_options, config_chain_t * );
VLC_API void config_ChainParse( vlc_object_t *, const char *psz_prefix, const char *const *ppsz_options, const config_chain_t * );
#define config_ChainParse( a, b, c, d ) config_ChainParse( VLC_OBJECT(a), b, c, d )
/**
......
......@@ -268,7 +268,7 @@ void config_ChainDestroy( config_chain_t *p_cfg )
#undef config_ChainParse
void config_ChainParse( vlc_object_t *p_this, const char *psz_prefix,
const char *const *ppsz_options, config_chain_t *cfg )
const char *const *ppsz_options, const config_chain_t *cfg )
{
if( psz_prefix == NULL ) psz_prefix = "";
size_t plen = 1 + strlen( psz_prefix );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment