0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

Make m_config_parse_config_file file name argument const

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29601 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-08-31 09:40:04 +00:00
parent 5babf10d75
commit 7d0270087d
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ static int recursion_depth = 0;
* \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

View File

@ -3,7 +3,7 @@
#include "m_config.h"
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);
int m_config_preparse_command_line(m_config_t *config, int argc, char **argv);