From cce06f6f21885d2870aa59e8d91a4dcc5fbdc48c Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 27 Sep 2010 11:54:17 +0000 Subject: m_config.[ch]: mark some function parameters const MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit patch by Clément Bœsch, ubitux gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32386 b3059339-0415-0410-9bf9-f77b7e298cf2 --- m_config.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'm_config.h') diff --git a/m_config.h b/m_config.h index ad5acfc374..9e06ee5715 100644 --- a/m_config.h +++ b/m_config.h @@ -157,20 +157,20 @@ m_config_set_option(m_config_t *config, char* arg, char* param); * \return See \ref OptionParserReturn. */ int -m_config_check_option(m_config_t *config, char* arg, char* param); +m_config_check_option(const m_config_t *config, char *arg, char *param); /// Get the option matching the given name. /** \param config The config object. * \param arg The option's name. */ const struct m_option* -m_config_get_option(m_config_t *config, char* arg); +m_config_get_option(const m_config_t *config, char *arg); /// Print a list of all registered options. /** \param config The config object. */ void -m_config_print_option_list(m_config_t *config); +m_config_print_option_list(const m_config_t *config); /// \addtogroup ConfigProfiles ///@{ @@ -181,7 +181,7 @@ m_config_print_option_list(m_config_t *config); * \return The profile object or NULL. */ m_profile_t* -m_config_get_profile(m_config_t* config, char* name); +m_config_get_profile(const m_config_t *config, char *name); /// Get the profile with the given name, creating it if necessary. /** \param config The config object. -- cgit v1.2.3