mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
declarations yet, those come later.
This commit is contained in:
parent
0452d1f316
commit
f70ef4f860
45 changed files with 704 additions and 1526 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue