Fix warning: Remove AL_CONST modifier from free_config_entries() function

This commit is contained in:
David Capello 2013-09-30 19:57:49 -03:00
parent 63c3a62e00
commit 092ae7b2d6
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ AL_FUNC(void, set_config_id, (AL_CONST char *section, AL_CONST char *name, int v
AL_FUNC(int, list_config_entries, (AL_CONST char *section, AL_CONST char ***names));
AL_FUNC(int, list_config_sections, (AL_CONST char ***names));
AL_FUNC(void, free_config_entries, (AL_CONST char ***names));
AL_FUNC(void, free_config_entries, (char ***names));
#ifdef __cplusplus
}

View File

@ -1513,7 +1513,7 @@ int list_config_sections(AL_CONST char ***names)
* Frees the entries list returned by list_config_entires or
* list_config_sections again.
*/
void free_config_entries(AL_CONST char ***names)
void free_config_entries(char ***names)
{
_AL_FREE(*names);
*names = NULL;