OSDN Git Service

hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing...
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / lstat64.c
index 99b655a..b56184f 100644 (file)
 #include "xstatconv.h"
 
 #define __NR___syscall_lstat64 __NR_lstat64
-#undef lstat64
 static inline _syscall2(int, __syscall_lstat64, const char *, file_name,
                  struct kernel_stat64 *, buf);
 
-int attribute_hidden __lstat64(const char *file_name, struct stat64 *buf)
+int lstat64(const char *file_name, struct stat64 *buf)
 {
        int result;
        struct kernel_stat64 kbuf;
@@ -30,6 +29,7 @@ int attribute_hidden __lstat64(const char *file_name, struct stat64 *buf)
        }
        return result;
 }
-strong_alias(__lstat64,lstat64)
+libc_hidden_proto(lstat64)
+libc_hidden_def(lstat64)
 
 #endif                                                 /* __UCLIBC_HAS_LFS__ */