diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-06 11:26:28 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-11 08:00:41 -0300 |
commit | 52f527d6f1e880027e37c422b3ce4f2b12c8ef7d (patch) | |
tree | e03e5a5173f79d02dca6fe35a48c4b71c05b8a4e /sysdeps/unix/sysv/linux/wordsize-64 | |
parent | 6ea1603d65881348a81af8dd93860d02443bdf61 (diff) | |
download | glibc-52f527d6f1e880027e37c422b3ce4f2b12c8ef7d.tar.gz glibc-52f527d6f1e880027e37c422b3ce4f2b12c8ef7d.tar.xz glibc-52f527d6f1e880027e37c422b3ce4f2b12c8ef7d.zip |
linux: Consolidate statvfs implementations
There is no need to handle ENOSYS on fstatfs64 call, required only for alpha (where is already fallbacks to fstatfs). Checked on x86_64-linux-gnu. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/wordsize-64')
-rw-r--r-- | sysdeps/unix/sysv/linux/wordsize-64/statvfs.c | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/wordsize-64/statvfs.c b/sysdeps/unix/sysv/linux/wordsize-64/statvfs.c deleted file mode 100644 index 1e1c96333b..0000000000 --- a/sysdeps/unix/sysv/linux/wordsize-64/statvfs.c +++ /dev/null @@ -1,5 +0,0 @@ -#define __statvfs64(file, buf) __no_statvfs64(file, buf) -#define statvfs64(file, buf) no_statvfs64(file, buf) -#include "../statvfs.c" -strong_alias (__statvfs, __statvfs64) -weak_alias (__statvfs, statvfs64) diff --git a/sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c b/sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c deleted file mode 100644 index 510015e420..0000000000 --- a/sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c +++ /dev/null @@ -1 +0,0 @@ -/* statvfs64 is the same as statvfs. */ |