aboutsummaryrefslogtreecommitdiff
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
commit6d5a02529ded7342f05a01d360e03e3ab7613f99 (patch)
treeb09df7296210165b594ea11584030758ecfecfb2
parentf41d856feb4376a224ad06226239ef06b03af352 (diff)
downloadglibc-6d5a02529ded7342f05a01d360e03e3ab7613f99.tar.xz
glibc-6d5a02529ded7342f05a01d360e03e3ab7613f99.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. */