remove LFS64 symbol aliases; replace with dynamic linker remapping
[musl] / src / stat / fstat.c
index 07f9a5d..fd28b8a 100644 (file)
@@ -4,10 +4,10 @@
 #include <fcntl.h>
 #include "syscall.h"
 
-int fstat(int fd, struct stat *st)
+int __fstat(int fd, struct stat *st)
 {
        if (fd<0) return __syscall_ret(-EBADF);
-       return fstatat(fd, "", st, AT_EMPTY_PATH);
+       return __fstatat(fd, "", st, AT_EMPTY_PATH);
 }
 
-weak_alias(fstat, fstat64);
+weak_alias(__fstat, fstat);