summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/statvfs64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/statfs/statvfs64.c')
-rw-r--r--libc/misc/statfs/statvfs64.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/misc/statfs/statvfs64.c b/libc/misc/statfs/statvfs64.c
index dc2458f5f..ccde33757 100644
--- a/libc/misc/statfs/statvfs64.c
+++ b/libc/misc/statfs/statvfs64.c
@@ -42,6 +42,8 @@
#include <sys/statfs.h>
#include <sys/statvfs.h>
+//libc_hidden_proto(statfs)
+//libc_hidden_proto(stat)
int statvfs (const char *file, struct statvfs *buf)
{
@@ -49,10 +51,10 @@ int statvfs (const char *file, struct statvfs *buf)
struct stat st;
/* Get as much information as possible from the system. */
- if (__statfs (file, &fsbuf) < 0)
+ if (statfs (file, &fsbuf) < 0)
return -1;
-#define STAT(st) __stat (file, st)
+#define STAT(st) stat (file, st)
#include "internal_statvfs.c"
/* We signal success if the statfs call succeeded. */