summaryrefslogtreecommitdiff
path: root/io/dup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/dup2.c')
-rw-r--r--io/dup2.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/io/dup2.c b/io/dup2.c
index fa3c5d59a5..d16ba54ce5 100644
--- a/io/dup2.c
+++ b/io/dup2.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 @@
/* Duplicate FD to FD2, closing the old FD2 and making FD2 be
open the same file as FD is. Return FD2 or -1. */
int
-__dup2 (fd, fd2)
- int fd;
- int fd2;
+__dup2 (int fd, int fd2)
{
if (fd < 0 || fd2 < 0)
{