From 36bff6b9bf5265c4d02fc6256dd5b3c81db709ff Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 10 Dec 2005 02:20:00 +0000 Subject: Do hidden __*stat* --- libc/sysdeps/linux/common/stat64.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/stat64.c') diff --git a/libc/sysdeps/linux/common/stat64.c b/libc/sysdeps/linux/common/stat64.c index 215f0a54c..d539906dd 100644 --- a/libc/sysdeps/linux/common/stat64.c +++ b/libc/sysdeps/linux/common/stat64.c @@ -19,7 +19,7 @@ static inline _syscall2(int, __syscall_stat64, const char *, file_name, struct kernel_stat64 *, buf); -int stat64(const char *file_name, struct stat64 *buf) +int attribute_hidden __stat64(const char *file_name, struct stat64 *buf) { int result; struct kernel_stat64 kbuf; @@ -30,4 +30,6 @@ int stat64(const char *file_name, struct stat64 *buf) } return result; } +strong_alias(__stat64,stat64) + #endif /* __UCLIBC_HAS_LFS__ */ -- cgit v1.2.3