Mercurial > mplayer.hg
diff parser-cfg.c @ 29559:8fd1ec0984b9
Make m_config_parse_config_file file name argument const
author | reimar |
---|---|
date | Mon, 31 Aug 2009 09:40:04 +0000 |
parents | 0f1b5b68af32 |
children | 61b1e80faf63 |
line wrap: on
line diff
--- a/parser-cfg.c Mon Aug 31 09:35:56 2009 +0000 +++ b/parser-cfg.c Mon Aug 31 09:40:04 2009 +0000 @@ -35,7 +35,7 @@ * \param conffile Path to the config file. * \return 1 on sucess, -1 on error. */ -int m_config_parse_config_file(m_config_t* config, char *conffile) +int m_config_parse_config_file(m_config_t* config, const char *conffile) { #define PRINT_LINENUM mp_msg(MSGT_CFGPARSER,MSGL_V,"%s(%d): ", conffile, line_num) #define MAX_LINE_LEN 10000