conf2: fix declaration of 'const char * const *' string.

This commit is contained in:
Tom Hacohen 2013-03-21 16:17:19 +00:00
parent 07b5d9fe6c
commit 93953ab44e
2 changed files with 3 additions and 3 deletions

View File

@ -2126,12 +2126,12 @@ e_configure_option_add(E_Configure_Option_Type type, const char *desc, const cha
}
EAPI void
e_configure_option_tags_set(E_Configure_Option *co, const char **const tags, unsigned int num_tags)
e_configure_option_tags_set(E_Configure_Option *co, const char * const *tags, unsigned int num_tags)
{
Eina_List *l, *ll;
Eina_Stringshare *tag;
unsigned int x;
const char **t;
const char * const *t;
EINA_SAFETY_ON_NULL_RETURN(co);
EINA_LIST_FOREACH_SAFE(co->tags, l, ll, tag)

View File

@ -129,7 +129,7 @@ EAPI void e_configure_option_apply_all(void);
EAPI void e_configure_option_reset_all(void);
EAPI E_Configure_Option *e_configure_option_add(E_Configure_Option_Type type, const char *desc, const char *name, void *valptr, const void *data);
EAPI void e_configure_option_tags_set(E_Configure_Option *co, const char const **tags, unsigned int num_tags);
EAPI void e_configure_option_tags_set(E_Configure_Option *co, const char * const *tags, unsigned int num_tags);
EAPI void e_configure_option_del(E_Configure_Option *eci);
EAPI const Eina_List *e_configure_option_tag_list_options(const char *tag);
EAPI void e_configure_option_changed(E_Configure_Option *co);