summaryrefslogtreecommitdiff
path: root/libc/misc/file/lockf64.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-13 21:38:57 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-13 21:38:57 +0000
commitf32600208f4e9db972eb47f7d4959994b31199e6 (patch)
tree2a9b75b74b8cf126b816ee32a36727977b5c3de3 /libc/misc/file/lockf64.c
parent01015a4321d2af6b665a90a20ea349f02bde6f81 (diff)
Convert all users of earlier hiddens
Diffstat (limited to 'libc/misc/file/lockf64.c')
-rw-r--r--libc/misc/file/lockf64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/misc/file/lockf64.c b/libc/misc/file/lockf64.c
index 23f88f179..8440202d5 100644
--- a/libc/misc/file/lockf64.c
+++ b/libc/misc/file/lockf64.c
@@ -41,11 +41,12 @@
#include <sys/syscall.h>
#ifdef __NR_fcntl64
-extern int fcntl64 (int fd, int cmd, ...);
#define flock flock64
-#define fcntl fcntl64
+#define fcntl __fcntl64
#define F_GETLK F_GETLK64
#define F_SETLK F_SETLK64
+#else
+#define fcntl __fcntl
#endif
/* lockf is a simplified interface to fcntl's locking facilities. */