apps/inifile: Filename parameter should be const
This commit is contained in:
parent
0d8247ef29
commit
8a26497e88
@ -76,7 +76,7 @@ extern "C"
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
INIHANDLE inifile_initialize(FAR char *inifile_name);
|
||||
INIHANDLE inifile_initialize(FAR const char *inifile_name);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: inifile_uninitialize
|
||||
|
@ -500,7 +500,7 @@ static FAR char *inifile_find_variable(FAR struct inifile_state_s *priv,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
INIHANDLE inifile_initialize(FAR char *inifile_name)
|
||||
INIHANDLE inifile_initialize(FAR const char *inifile_name)
|
||||
{
|
||||
/* Allocate an INI file parser state structure */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user