summaryrefslogtreecommitdiffstats
path: root/Python/dup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/dup2.c')
-rw-r--r--Python/dup2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/dup2.c b/Python/dup2.c
index 85ec5d5..ba7413a 100644
--- a/Python/dup2.c
+++ b/Python/dup2.c
@@ -16,8 +16,7 @@
#define BADEXIT -1
int
-dup2(fd1, fd2)
-int fd1, fd2;
+dup2(int fd1, int fd2)
{
if (fd1 != fd2) {
if (fcntl(fd1, F_GETFL) < 0)