- char * to const char *

SVN revision: 18163
This commit is contained in:
codewarrior 2005-10-31 09:14:41 +00:00 committed by codewarrior
parent 09602687a0
commit 727de7d0fc
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ extern "C" {
EAPI int ecore_file_mv (const char *src, const char *dst);
EAPI char *ecore_file_realpath (const char *file);
EAPI int ecore_file_unlink (const char *file);
EAPI char *ecore_file_get_file (char *path);
EAPI const char *ecore_file_get_file (const char *path);
EAPI char *ecore_file_get_dir (char *path);
EAPI int ecore_file_can_exec (const char *file);

View File

@ -212,8 +212,8 @@ ecore_file_realpath(const char *file)
return strdup(buf);
}
char *
ecore_file_get_file(char *path)
const char *
ecore_file_get_file(const char *path)
{
char *result = NULL;