@@ -16,6 +16,9 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <features.h>
+#undef __lockf
+
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
@@ -24,6 +27,7 @@
/* lockf is a simplified interface to fcntl's locking facilities. */
+#undef lockf
int attribute_hidden __lockf (int fd, int cmd, off_t len)
{
struct flock fl;
@@ -17,6 +17,7 @@
#include <features.h>
+#undef __lockf64
#ifdef __UCLIBC_HAS_LFS__
#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64
@@ -51,6 +52,7 @@
+#undef lockf64
int attribute_hidden __lockf64 (int fd, int cmd, off64_t len64)
@@ -18,6 +18,8 @@
02111-1307 USA. */
+#undef __fstatfs64
+#undef __fstatfs
@@ -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)
+#undef __statfs64
+#undef __statfs
#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)