summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/ftruncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/ftruncate.c')
-rw-r--r--sysdeps/mach/hurd/ftruncate.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/ftruncate.c b/sysdeps/mach/hurd/ftruncate.c
index f2134265cd..780c31483c 100644
--- a/sysdeps/mach/hurd/ftruncate.c
+++ b/sysdeps/mach/hurd/ftruncate.c
@@ -23,9 +23,7 @@
/* Truncate the file referenced by FD to LENGTH bytes. */
int
-__ftruncate (fd, length)
- int fd;
- __off_t length;
+__ftruncate (int fd, __off_t length)
{
error_t err;
if (err = HURD_DPORT_USE (fd, __file_set_size (port, length)))