Don't remove const. Other code should be fixed instead.

SVN revision: 19609
This commit is contained in:
sebastid 2006-01-07 14:26:01 +00:00 committed by sebastid
parent 237cdc2373
commit 19f6192f71
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 char *evas_stringshare_add (const char *str);
EAPI const 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 char *
EAPI const char *
evas_stringshare_add(const char *str)
{
int hash_num, slen;