summaryrefslogtreecommitdiff
path: root/legacy/eio/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-10-30 12:06:21 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-10-30 12:06:21 +0000
commit57aa3f4147622925c21f9b17504f17259dab7ad1 (patch)
treeeb90b52f8c0074d7a7a0883985b654224bad6eb6 /legacy/eio/src
parent46abf6fc81aa95db173a2e90e1fc1807d8eebc90 (diff)
* eio: fix shadow symbol.
SVN revision: 54033
Diffstat (limited to 'legacy/eio/src')
-rw-r--r--legacy/eio/src/lib/eio_inline_helper.x30
1 files changed, 15 insertions, 15 deletions
diff --git a/legacy/eio/src/lib/eio_inline_helper.x b/legacy/eio/src/lib/eio_inline_helper.x
index 638ac5fbb0..778009e9b5 100644
--- a/legacy/eio/src/lib/eio_inline_helper.x
+++ b/legacy/eio/src/lib/eio_inline_helper.x
@@ -36,10 +36,10 @@
36 * This function return the st_atime field, last acces time, as double like all EFL time call. 36 * This function return the st_atime field, last acces time, as double like all EFL time call.
37 */ 37 */
38static inline double 38static inline double
39eio_file_atime(const struct stat *stat) 39eio_file_atime(const struct stat *st)
40{ 40{
41 if (!stat) return 0.0; 41 if (!st) return 0.0;
42 return (double) stat->st_atime; 42 return (double) st->st_atime;
43} 43}
44 44
45/** 45/**
@@ -50,10 +50,10 @@ eio_file_atime(const struct stat *stat)
50 * This function return the st_mtime field, last modification time, as double like all EFL time call. 50 * This function return the st_mtime field, last modification time, as double like all EFL time call.
51 */ 51 */
52static inline double 52static inline double
53eio_file_mtime(const struct stat *stat) 53eio_file_mtime(const struct stat *st)
54{ 54{
55 if (!stat) return 0.0; 55 if (!st) return 0.0;
56 return (double) stat->st_mtime; 56 return (double) st->st_mtime;
57} 57}
58 58
59/** 59/**
@@ -64,10 +64,10 @@ eio_file_mtime(const struct stat *stat)
64 * This function is just an accessor to st_size and return the file length. 64 * This function is just an accessor to st_size and return the file length.
65 */ 65 */
66static inline long long 66static inline long long
67eio_file_size(const struct stat *stat) 67eio_file_size(const struct stat *st)
68{ 68{
69 if (!stat) return 0; 69 if (!st) return 0;
70 return stat->st_size; 70 return st->st_size;
71} 71}
72 72
73/** 73/**
@@ -78,10 +78,10 @@ eio_file_size(const struct stat *stat)
78 * This function tell you if the stated path is a directory or not. 78 * This function tell you if the stated path is a directory or not.
79 */ 79 */
80static inline Eina_Bool 80static inline Eina_Bool
81eio_file_is_dir(const struct stat *stat) 81eio_file_is_dir(const struct stat *st)
82{ 82{
83 if (!stat) return EINA_FALSE; 83 if (!st) return EINA_FALSE;
84 return (S_ISDIR(stat->st_mode)) ? EINA_TRUE : EINA_FALSE; 84 return (S_ISDIR(st->st_mode)) ? EINA_TRUE : EINA_FALSE;
85} 85}
86 86
87/** 87/**
@@ -92,10 +92,10 @@ eio_file_is_dir(const struct stat *stat)
92 * This function tell you if the stated path is a length or not. 92 * This function tell you if the stated path is a length or not.
93 */ 93 */
94static inline Eina_Bool 94static inline Eina_Bool
95eio_file_is_lnk(const struct stat *stat) 95eio_file_is_lnk(const struct stat *st)
96{ 96{
97 if (!stat) return EINA_FALSE; 97 if (!st) return EINA_FALSE;
98 return (S_ISLNK(stat->st_mode)) ? EINA_TRUE : EINA_FALSE; 98 return (S_ISLNK(st->st_mode)) ? EINA_TRUE : EINA_FALSE;
99} 99}
100 100
101/** 101/**