From 2995dde005d4eb3098ed3ad2a484684b9c984500 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 31 May 2000 12:00:45 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of syscall. * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. --- sysdeps/unix/sysv/linux/mips/ftruncate64.c | 3 ++- sysdeps/unix/sysv/linux/mips/truncate64.c | 3 ++- 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. */