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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/ftruncate.c b/sysdeps/mach/hurd/ftruncate.c
index f2134265cd..e4eebcc797 100644
--- a/sysdeps/mach/hurd/ftruncate.c
+++ b/sysdeps/mach/hurd/ftruncate.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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)))