diff --git a/legacy/ecore/src/lib/ecore/Ecore_Data.h b/legacy/ecore/src/lib/ecore/Ecore_Data.h index 4118bde7b4..cb981428b3 100644 --- a/legacy/ecore/src/lib/ecore/Ecore_Data.h +++ b/legacy/ecore/src/lib/ecore/Ecore_Data.h @@ -355,7 +355,7 @@ extern "C" { EAPI int ecore_string_init(void); EAPI void ecore_string_shutdown(void); - EAPI const char *ecore_string_instance(char *string); + EAPI const char *ecore_string_instance(const char *string); EAPI void ecore_string_release(const char *string); diff --git a/legacy/ecore/src/lib/ecore/ecore_strings.c b/legacy/ecore/src/lib/ecore/ecore_strings.c index 7a0999c9f2..79f186b3ab 100644 --- a/legacy/ecore/src/lib/ecore/ecore_strings.c +++ b/legacy/ecore/src/lib/ecore/ecore_strings.c @@ -44,7 +44,7 @@ ecore_string_init() * @ingroup Ecore_String_Group */ EAPI const char * -ecore_string_instance(char *string) +ecore_string_instance(const char *string) { Ecore_String *str;