mirror of
https://github.com/mpv-player/mpv
synced 2025-02-22 07:46:55 +00: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:
parent
5babf10d75
commit
7d0270087d
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user