apps/inifile: Filename parameter should be const

This commit is contained in:
Gregory Nutt 2014-12-06 09:14:55 -06:00
parent 0d8247ef29
commit 8a26497e88
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ extern "C"
*
****************************************************************************/
INIHANDLE inifile_initialize(FAR char *inifile_name);
INIHANDLE inifile_initialize(FAR const char *inifile_name);
/****************************************************************************
* Name: inifile_uninitialize

View File

@ -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 */