summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/truncate.c')
-rw-r--r--sysdeps/mach/hurd/truncate.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/truncate.c b/sysdeps/mach/hurd/truncate.c
index 89661e683d..5039a474b0 100644
--- a/sysdeps/mach/hurd/truncate.c
+++ b/sysdeps/mach/hurd/truncate.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 FILE_NAME to LENGTH bytes. */
int
-__truncate (file_name, length)
- const char *file_name;
- off_t length;
+__truncate (const char *file_name, off_t length)
{
error_t err;
file_t file = __file_name_lookup (file_name, O_WRITE, 0);