summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-09-03 21:58:19 +0000
committerEric Andersen <andersen@codepoet.org>2002-09-03 21:58:19 +0000
commit1e57a2785af5684112b81767f572d784622ac191 (patch)
tree0e2063fcbb39efd848d0a92d7ba94fc76855b831 /libc/misc
parentac86328605ce625e2eed63eec6618ebbcf9ae274 (diff)
Oops. Turns out I broke statvfs() and fstatvfs() back in February,
when I accidentally changed them unconditionally into the 64 bit versions... Oops. -Erik
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/statfs/fstatvfs.c13
-rw-r--r--libc/misc/statfs/statvfs.c13
2 files changed, 0 insertions, 26 deletions
diff --git a/libc/misc/statfs/fstatvfs.c b/libc/misc/statfs/fstatvfs.c
index 84f68ae9b..5e08f51ad 100644
--- a/libc/misc/statfs/fstatvfs.c
+++ b/libc/misc/statfs/fstatvfs.c
@@ -19,19 +19,6 @@
#include <features.h>
-#ifdef __UCLIBC_HAVE_LFS__
-#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64
-#undef _FILE_OFFSET_BITS
-#define _FILE_OFFSET_BITS 64
-#endif
-#ifndef __USE_FILE_OFFSET64
-# define __USE_FILE_OFFSET64 1
-#endif
-#ifndef __USE_LARGEFILE64
-# define __USE_LARGEFILE64 1
-#endif
-#endif
-
#define __USE_GNU
#include <errno.h>
#include <mntent.h>
diff --git a/libc/misc/statfs/statvfs.c b/libc/misc/statfs/statvfs.c
index 1e3ec0a36..02a95fcde 100644
--- a/libc/misc/statfs/statvfs.c
+++ b/libc/misc/statfs/statvfs.c
@@ -19,19 +19,6 @@
#include <features.h>
-#ifdef __UCLIBC_HAVE_LFS__
-#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64
-#undef _FILE_OFFSET_BITS
-#define _FILE_OFFSET_BITS 64
-#endif
-#ifndef __USE_FILE_OFFSET64
-# define __USE_FILE_OFFSET64 1
-#endif
-#ifndef __USE_LARGEFILE64
-# define __USE_LARGEFILE64 1
-#endif
-#endif
-
#define __USE_GNU
#include <errno.h>
#include <mntent.h>