about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-05-31 12:00:45 +0000
committerAndreas Jaeger <aj@suse.de>2000-05-31 12:00:45 +0000
commit2995dde005d4eb3098ed3ad2a484684b9c984500 (patch)
tree9a669c9ce5cf271e9e9fe53a27498888fdf9f2b1
parenta2fa860526e6e6978385fd789a24401ddb6e6c5f (diff)
downloadglibc-2995dde005d4eb3098ed3ad2a484684b9c984500.tar.gz
glibc-2995dde005d4eb3098ed3ad2a484684b9c984500.tar.xz
glibc-2995dde005d4eb3098ed3ad2a484684b9c984500.zip
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
syscall. 
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
-rw-r--r--sysdeps/unix/sysv/linux/mips/ftruncate64.c3
-rw-r--r--sysdeps/unix/sysv/linux/mips/truncate64.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/ftruncate64.c b/sysdeps/unix/sysv/linux/mips/ftruncate64.c
index 66c6548ee8..768946e9fa 100644
--- a/sysdeps/unix/sysv/linux/mips/ftruncate64.c
+++ b/sysdeps/unix/sysv/linux/mips/ftruncate64.c
@@ -33,7 +33,8 @@ extern int __have_no_truncate64;
 #endif
 
 /* The order of hight, low depends on endianness.  */
-extern int __syscall_ftruncate64 (int fd, int high_length, int low_length);
+extern int __syscall_ftruncate64 (int fd, int dummy, int high_length,
+				  int low_length);
 
 
 /* Truncate the file FD refers to to LENGTH bytes.  */
diff --git a/sysdeps/unix/sysv/linux/mips/truncate64.c b/sysdeps/unix/sysv/linux/mips/truncate64.c
index 08d9667612..bcdb9ddf98 100644
--- a/sysdeps/unix/sysv/linux/mips/truncate64.c
+++ b/sysdeps/unix/sysv/linux/mips/truncate64.c
@@ -33,7 +33,8 @@ int __have_no_truncate64;
 #endif
 
 /* The order of hight, low depends on endianness.  */
-extern int __syscall_truncate64 (const char *path, int high_length, int low_length);
+extern int __syscall_truncate64 (const char *path, int dummy,
+				 int high_length, int low_length);
 
 
 /* Truncate the file FD refers to to LENGTH bytes.  */