From f70ef4f8606f99744252a804229d53a4d97601c1 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Sat, 22 Jul 2000 18:47:25 +0000 Subject: Mass ANSIfication of function definitions. Doesn't cover all 'extern' declarations yet, those come later. --- Python/dup2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Python/dup2.c') diff --git a/Python/dup2.c b/Python/dup2.c index 85ec5d5e5f..ba7413a0ca 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) -- cgit v1.2.1