vlc | branch: master | Maxime Meissonnier <[email protected]> | Tue Jul 30 09:59:46 2019 +0000| [7f66f0020a371c6233730af4ccfc89244bb625b8] | committer: Thomas Guillem
config: constify config chain in config_ChainParse Signed-off-by: Thomas Guillem <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f66f0020a371c6233730af4ccfc89244bb625b8 --- include/vlc_configuration.h | 2 +- src/config/chain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h index f1467c9a0c..d4b8fc2473 100644 --- a/include/vlc_configuration.h +++ b/include/vlc_configuration.h @@ -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 ) /** diff --git a/src/config/chain.c b/src/config/chain.c index 5f07fe190b..0debcaed63 100644 --- a/src/config/chain.c +++ b/src/config/chain.c @@ -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 ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
