summary refs log tree commit diff
path: root/io/dup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/dup2.c')
-rw-r--r--io/dup2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/io/dup2.c b/io/dup2.c
index fa3c5d59a5..d175572ee9 100644
--- a/io/dup2.c
+++ b/io/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)
 {
   if (fd < 0 || fd2 < 0)
     {