diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-22 18:47:25 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-22 18:47:25 (GMT) |
commit | f70ef4f8606f99744252a804229d53a4d97601c1 (patch) | |
tree | be401f2f10b39f0603e4cc0ae091335890410b7f /Python/dup2.c | |
parent | 0452d1f316903f0553a0d92e0673ff37247cdfa5 (diff) | |
download | cpython-f70ef4f8606f99744252a804229d53a4d97601c1.zip cpython-f70ef4f8606f99744252a804229d53a4d97601c1.tar.gz cpython-f70ef4f8606f99744252a804229d53a4d97601c1.tar.bz2 |
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
declarations yet, those come later.
Diffstat (limited to 'Python/dup2.c')
-rw-r--r-- | Python/dup2.c | 3 |
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) |