summaryrefslogtreecommitdiff
path: root/libc/misc/file/lockf64.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:51:04 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:51:04 +0000
commita9e4cbde64ecadb003bb779e096d3f89303c62b1 (patch)
tree52cade2df7aefbc68553a23d0baa4aafe80aabe7 /libc/misc/file/lockf64.c
parent42d2cb36eeaa15c78cf309acda5a802491873abe (diff)
Correct some problems
Diffstat (limited to 'libc/misc/file/lockf64.c')
-rw-r--r--libc/misc/file/lockf64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/file/lockf64.c b/libc/misc/file/lockf64.c
index 8440202d5..1e294d9a6 100644
--- a/libc/misc/file/lockf64.c
+++ b/libc/misc/file/lockf64.c
@@ -17,6 +17,7 @@
Boston, MA 02111-1307, USA. */
#include <features.h>
+#undef __lockf64
#ifdef __UCLIBC_HAS_LFS__
#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64
@@ -51,6 +52,7 @@
/* lockf is a simplified interface to fcntl's locking facilities. */
+#undef lockf64
int attribute_hidden __lockf64 (int fd, int cmd, off64_t len64)
{
struct flock fl;