X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstat%2Fstatvfs.c;h=f65d1b548d41eae429223ddca818b3a71ba8d6b7;hb=6aeb9c6703670649ee09b3c8575fb428168bb75c;hp=30d587971b0a0946ae4293dc43cb54d231d763fd;hpb=6567db65f495cf7c11f5c1e60a3e54543d5a69bc;p=musl diff --git a/src/stat/statvfs.c b/src/stat/statvfs.c index 30d58797..f65d1b54 100644 --- a/src/stat/statvfs.c +++ b/src/stat/statvfs.c @@ -1,9 +1,8 @@ #include #include #include "syscall.h" -#include "libc.h" -int __statfs(const char *path, struct statfs *buf) +static int __statfs(const char *path, struct statfs *buf) { *buf = (struct statfs){0}; #ifdef SYS_statfs64 @@ -13,7 +12,7 @@ int __statfs(const char *path, struct statfs *buf) #endif } -int __fstatfs(int fd, struct statfs *buf) +static int __fstatfs(int fd, struct statfs *buf) { *buf = (struct statfs){0}; #ifdef SYS_fstatfs64 @@ -58,7 +57,7 @@ int fstatvfs(int fd, struct statvfs *buf) return 0; } -LFS64(statvfs); -LFS64(statfs); -LFS64(fstatvfs); -LFS64(fstatfs); +weak_alias(statvfs, statvfs64); +weak_alias(statfs, statfs64); +weak_alias(fstatvfs, fstatvfs64); +weak_alias(fstatfs, fstatfs64);