diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 00:51:04 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 00:51:04 +0000 |
commit | a9e4cbde64ecadb003bb779e096d3f89303c62b1 (patch) | |
tree | 52cade2df7aefbc68553a23d0baa4aafe80aabe7 /libc/misc/statfs | |
parent | 42d2cb36eeaa15c78cf309acda5a802491873abe (diff) |
Correct some problems
Diffstat (limited to 'libc/misc/statfs')
-rw-r--r-- | libc/misc/statfs/fstatfs64.c | 3 | ||||
-rw-r--r-- | libc/misc/statfs/statfs64.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libc/misc/statfs/fstatfs64.c b/libc/misc/statfs/fstatfs64.c index 5fd1d60f6..63bd640b7 100644 --- a/libc/misc/statfs/fstatfs64.c +++ b/libc/misc/statfs/fstatfs64.c @@ -18,6 +18,8 @@ 02111-1307 USA. */ #include <features.h> +#undef __fstatfs64 +#undef __fstatfs #ifdef __UCLIBC_HAS_LFS__ @@ -40,6 +42,7 @@ #include <sys/statvfs.h> #include <stddef.h> +#undef fstatfs64 /* Return information about the filesystem on which FD resides. */ int attribute_hidden __fstatfs64 (int fd, struct statfs64 *buf) { diff --git a/libc/misc/statfs/statfs64.c b/libc/misc/statfs/statfs64.c index 7a8f2bc36..9d326f1f8 100644 --- a/libc/misc/statfs/statfs64.c +++ b/libc/misc/statfs/statfs64.c @@ -18,6 +18,8 @@ 02111-1307 USA. */ #include <features.h> +#undef __statfs64 +#undef __statfs #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 #undef _FILE_OFFSET_BITS @@ -37,7 +39,7 @@ #include <sys/statfs.h> #if defined __UCLIBC_HAS_LFS__ - +#undef statfs64 /* Return information about the filesystem on which FILE resides. */ int attribute_hidden __statfs64 (const char *file, struct statfs64 *buf) { |