summaryrefslogtreecommitdiff
path: root/sysdeps/posix/rename.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/rename.c')
-rw-r--r--sysdeps/posix/rename.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/posix/rename.c b/sysdeps/posix/rename.c
index 0f13abbf5d..df34f0949d 100644
--- a/sysdeps/posix/rename.c
+++ b/sysdeps/posix/rename.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
@@ -21,9 +21,7 @@
/* Rename the file OLD to NEW. */
int
-rename (old, new)
- const char *old;
- const char *new;
+rename (const char *old, const char *new)
{
int save = errno;
if (__link (old, new) < 0)