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 / fstat64.c
index 0d8bbdb..fc91cba 100644 (file)
@@ -18,8 +18,7 @@
 static inline _syscall2(int, __syscall_fstat64,
                int, filedes, struct kernel_stat64 *, buf);
 
-#undef fstat64
-int attribute_hidden __fstat64(int fd, struct stat64 *buf)
+int fstat64(int fd, struct stat64 *buf)
 {
        int result;
        struct kernel_stat64 kbuf;
@@ -30,6 +29,7 @@ int attribute_hidden __fstat64(int fd, struct stat64 *buf)
        }
        return result;
 }
-strong_alias(__fstat64,fstat64)
+libc_hidden_proto(fstat64)
+libc_hidden_def(fstat64)
 
 #endif                                                 /* __UCLIBC_HAS_LFS__ */