aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-02-06 11:26:28 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-02-11 08:00:41 -0300
commit52f527d6f1e880027e37c422b3ce4f2b12c8ef7d (patch)
treee03e5a5173f79d02dca6fe35a48c4b71c05b8a4e /include
parent6ea1603d65881348a81af8dd93860d02443bdf61 (diff)
downloadglibc-52f527d6f1e880027e37c422b3ce4f2b12c8ef7d.zip
glibc-52f527d6f1e880027e37c422b3ce4f2b12c8ef7d.tar.gz
glibc-52f527d6f1e880027e37c422b3ce4f2b12c8ef7d.tar.bz2
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 'include')
-rw-r--r--include/sys/statvfs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sys/statvfs.h b/include/sys/statvfs.h
index 4cd1977..d7fe331 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;