diff options
Diffstat (limited to 'libc/sysdeps/linux/common/stat.c')
-rw-r--r-- | libc/sysdeps/linux/common/stat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/stat.c b/libc/sysdeps/linux/common/stat.c index e5b2f0a51..cefbd5f8e 100644 --- a/libc/sysdeps/linux/common/stat.c +++ b/libc/sysdeps/linux/common/stat.c @@ -17,7 +17,7 @@ static inline _syscall2(int, __syscall_stat, const char *, file_name, struct kernel_stat *, buf); -int stat(const char *file_name, struct stat *buf) +int attribute_hidden __stat(const char *file_name, struct stat *buf) { int result; struct kernel_stat kbuf; @@ -28,7 +28,8 @@ int stat(const char *file_name, struct stat *buf) } return result; } +strong_alias(__stat,stat) #if ! defined __NR_stat64 && defined __UCLIBC_HAS_LFS__ -weak_alias(stat, stat64); +weak_alias(stat,stat64) #endif |