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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/truncate.c b/sysdeps/mach/hurd/truncate.c
index 89661e683d..bbbda6496e 100644
--- a/sysdeps/mach/hurd/truncate.c
+++ b/sysdeps/mach/hurd/truncate.c
@@ -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);