From 52f527d6f1e880027e37c422b3ce4f2b12c8ef7d Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Sat, 6 Feb 2021 11:26:28 +0000 Subject: 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 --- sysdeps/unix/sysv/linux/wordsize-64/statvfs.c | 5 ----- sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c | 1 - 2 files changed, 6 deletions(-) delete mode 100644 sysdeps/unix/sysv/linux/wordsize-64/statvfs.c delete mode 100644 sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c (limited to 'sysdeps/unix/sysv/linux/wordsize-64') 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. */ -- cgit 1.4.1