summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/fstatvfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/statfs/fstatvfs.c')
-rw-r--r--libc/misc/statfs/fstatvfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/misc/statfs/fstatvfs.c b/libc/misc/statfs/fstatvfs.c
index e21235e01..7956e014b 100644
--- a/libc/misc/statfs/fstatvfs.c
+++ b/libc/misc/statfs/fstatvfs.c
@@ -33,6 +33,7 @@
libc_hidden_proto(setmntent)
libc_hidden_proto(getmntent_r)
libc_hidden_proto(endmntent)
+libc_hidden_proto(stat)
#ifndef __USE_FILE_OFFSET64
extern int fstatfs (int __fildes, struct statfs *__buf)
@@ -50,6 +51,7 @@ extern __typeof(fstatfs) __libc_fstatfs;
libc_hidden_proto(__libc_fstatfs)
libc_hidden_proto(fstat)
libc_hidden_proto(stat)
+libc_hidden_proto(fstatvfs)
int fstatvfs (int fd, struct statvfs *buf)
{
@@ -66,3 +68,4 @@ int fstatvfs (int fd, struct statvfs *buf)
/* We signal success if the statfs call succeeded. */
return 0;
}
+libc_hidden_def(fstatvfs)