From c3dbd3904db8f2c7ff65bb089e6943aac2df47c7 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Fri, 27 Oct 2006 03:52:28 +0000 Subject: [PATCH] - make this const SVN revision: 26806 --- legacy/ecore/src/lib/ecore/Ecore_Data.h | 2 +- legacy/ecore/src/lib/ecore/ecore_strings.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;