summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/lstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/lstat.c')
-rw-r--r--libc/sysdeps/linux/common/lstat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/lstat.c b/libc/sysdeps/linux/common/lstat.c
index b5b0e635e..8cacd4e78 100644
--- a/libc/sysdeps/linux/common/lstat.c
+++ b/libc/sysdeps/linux/common/lstat.c
@@ -18,7 +18,7 @@
static inline _syscall2(int, __syscall_lstat,
const char *, file_name, struct kernel_stat *, buf);
-int lstat(const char *file_name, struct stat *buf)
+int attribute_hidden __lstat(const char *file_name, struct stat *buf)
{
int result;
struct kernel_stat kbuf;
@@ -29,7 +29,8 @@ int lstat(const char *file_name, struct stat *buf)
}
return result;
}
+strong_alias(__lstat,lstat)
#if ! defined __NR_lstat64 && defined __UCLIBC_HAS_LFS__
-weak_alias(lstat, lstat64);
+weak_alias(lstat,lstat64)
#endif