* eio: fix shadow symbol.

SVN revision: 54033
This commit is contained in:
Cedric BAIL 2010-10-30 12:06:21 +00:00
parent 46abf6fc81
commit 57aa3f4147
1 changed files with 15 additions and 15 deletions

View File

@ -36,10 +36,10 @@
* This function return the st_atime field, last acces time, as double like all EFL time call.
*/
static inline double
eio_file_atime(const struct stat *stat)
eio_file_atime(const struct stat *st)
{
if (!stat) return 0.0;
return (double) stat->st_atime;
if (!st) return 0.0;
return (double) st->st_atime;
}
/**
@ -50,10 +50,10 @@ eio_file_atime(const struct stat *stat)
* This function return the st_mtime field, last modification time, as double like all EFL time call.
*/
static inline double
eio_file_mtime(const struct stat *stat)
eio_file_mtime(const struct stat *st)
{
if (!stat) return 0.0;
return (double) stat->st_mtime;
if (!st) return 0.0;
return (double) st->st_mtime;
}
/**
@ -64,10 +64,10 @@ eio_file_mtime(const struct stat *stat)
* This function is just an accessor to st_size and return the file length.
*/
static inline long long
eio_file_size(const struct stat *stat)
eio_file_size(const struct stat *st)
{
if (!stat) return 0;
return stat->st_size;
if (!st) return 0;
return st->st_size;
}
/**
@ -78,10 +78,10 @@ eio_file_size(const struct stat *stat)
* This function tell you if the stated path is a directory or not.
*/
static inline Eina_Bool
eio_file_is_dir(const struct stat *stat)
eio_file_is_dir(const struct stat *st)
{
if (!stat) return EINA_FALSE;
return (S_ISDIR(stat->st_mode)) ? EINA_TRUE : EINA_FALSE;
if (!st) return EINA_FALSE;
return (S_ISDIR(st->st_mode)) ? EINA_TRUE : EINA_FALSE;
}
/**
@ -92,10 +92,10 @@ eio_file_is_dir(const struct stat *stat)
* This function tell you if the stated path is a length or not.
*/
static inline Eina_Bool
eio_file_is_lnk(const struct stat *stat)
eio_file_is_lnk(const struct stat *st)
{
if (!stat) return EINA_FALSE;
return (S_ISLNK(stat->st_mode)) ? EINA_TRUE : EINA_FALSE;
if (!st) return EINA_FALSE;
return (S_ISLNK(st->st_mode)) ? EINA_TRUE : EINA_FALSE;
}
/**