summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/lstat.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-10 02:20:00 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-10 02:20:00 +0000
commit36bff6b9bf5265c4d02fc6256dd5b3c81db709ff (patch)
tree64b964098a55061701fd85fa5ecc465891dbe696 /libc/sysdeps/linux/common/lstat.c
parent3720c42fcc3645f08053087b29e8f44cf9aeb438 (diff)
Do hidden __*stat*
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