Remove the const. It generates a _lot_ of warnings.

SVN revision: 19607
This commit is contained in:
sebastid 2006-01-07 14:12:33 +00:00 committed by sebastid
parent 9bd391e812
commit 237cdc2373
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ extern "C" {
EAPI void evas_hash_foreach (Evas_Hash *hash, Evas_Bool (*func) (Evas_Hash *hash, const char *key, void *data, void *fdata), const void *fdata);
EAPI int evas_hash_alloc_error (void);
EAPI const char *evas_stringshare_add (const char *str);
EAPI char *evas_stringshare_add (const char *str);
EAPI void evas_stringshare_del (const char *str);

View File

@ -51,7 +51,7 @@ static Evas_Stringshare share =
}
};
EAPI const char *
EAPI char *
evas_stringshare_add(const char *str)
{
int hash_num, slen;