summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386/fcntl.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-09-07 15:46:19 +0000
committerAndreas Jaeger <aj@suse.de>2000-09-07 15:46:19 +0000
commitb540e5d0b54d5e6a424628e4ed466486db5625f0 (patch)
tree7727dcba213d06b17163c834b6b663e2cf7862b5 /sysdeps/unix/sysv/linux/i386/fcntl.c
parent9aee41dec0608dad42d95b76ee0245a9bd7abee5 (diff)
Update.
* sysdeps/unix/sysv/linux/mips/lockf64.c: New file. * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the syscalls.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/fcntl.c')
-rw-r--r--sysdeps/unix/sysv/linux/i386/fcntl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/fcntl.c b/sysdeps/unix/sysv/linux/i386/fcntl.c
index 962249a855..e67931ec71 100644
--- a/sysdeps/unix/sysv/linux/i386/fcntl.c
+++ b/sysdeps/unix/sysv/linux/i386/fcntl.c
@@ -24,6 +24,10 @@
#include <sys/syscall.h>
#include "../kernel-features.h"
+extern int __syscall_fcntl (int __fd, int __cmd, ...);
+#ifdef __NR_fcntl64
+extern int __syscall_fcntl64 (int __fd, int __cmd, ...);
+#endif
#if __ASSUME_FCNTL64 == 0
/* This variable is shared with all files that check for fcntl64. */