about summary refs log tree commit diff
path: root/sysdeps/unix/sysv
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
parent9aee41dec0608dad42d95b76ee0245a9bd7abee5 (diff)
downloadglibc-b540e5d0b54d5e6a424628e4ed466486db5625f0.tar.gz
glibc-b540e5d0b54d5e6a424628e4ed466486db5625f0.tar.xz
glibc-b540e5d0b54d5e6a424628e4ed466486db5625f0.zip
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')
-rw-r--r--sysdeps/unix/sysv/linux/i386/fcntl.c4
-rw-r--r--sysdeps/unix/sysv/linux/mips/lockf64.c1
-rw-r--r--sysdeps/unix/sysv/linux/mips/syscalls.list2
3 files changed, 6 insertions, 1 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.  */
diff --git a/sysdeps/unix/sysv/linux/mips/lockf64.c b/sysdeps/unix/sysv/linux/mips/lockf64.c
new file mode 100644
index 0000000000..a88f5a784a
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/mips/lockf64.c
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/lockf64.c>
diff --git a/sysdeps/unix/sysv/linux/mips/syscalls.list b/sysdeps/unix/sysv/linux/mips/syscalls.list
index c182f6c4eb..67f3cd259d 100644
--- a/sysdeps/unix/sysv/linux/mips/syscalls.list
+++ b/sysdeps/unix/sysv/linux/mips/syscalls.list
@@ -50,7 +50,7 @@ rt_sigqueueinfo	-	rt_sigqueueinfo	i:iip	__syscall_rt_sigqueueinfo
 rt_sigsuspend	-	rt_sigsuspend	i:pi	__syscall_rt_sigsuspend
 rt_sigtimedwait	-	rt_sigtimedwait	i:pppi	__syscall_rt_sigtimedwait
 s_execve	execve	execve		i:spp	__syscall_execve
-s_fcntl		-	fcntl		i:iiF	__syscall_fcntl
+s_fcntl		fcntl	fcntl		i:iiF	__syscall_fcntl
 s_fstat64	fxstat64 fstat64	i:ip	__syscall_fstat64
 s_ftruncate64	ftruncate64 ftruncate64	i:iiii	__syscall_ftruncate64
 s_getcwd	getcwd	getcwd		i:pi	__syscall_getcwd