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 --- include/sys/statvfs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/sys') diff --git a/include/sys/statvfs.h b/include/sys/statvfs.h index 4cd1977c35..d7fe33119a 100644 --- a/include/sys/statvfs.h +++ b/include/sys/statvfs.h @@ -3,8 +3,7 @@ #ifndef _ISOMAC /* Now define the internal interfaces. */ -extern int __statvfs64 (const char *__file, struct statvfs64 *__buf) - attribute_hidden; +extern int __statvfs64 (const char *__file, struct statvfs64 *__buf); extern int __fstatvfs64 (int __fildes, struct statvfs64 *__buf) attribute_hidden; -- cgit v1.2.3