summaryrefslogtreecommitdiff
path: root/sysdeps/posix/dup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/dup2.c')
-rw-r--r--sysdeps/posix/dup2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/posix/dup2.c b/sysdeps/posix/dup2.c
index ab983bcf74..f61eba5b5b 100644
--- a/sysdeps/posix/dup2.c
+++ b/sysdeps/posix/dup2.c
@@ -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)
{
int save;