mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +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
|
@ -26,12 +26,10 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
|||
#define MAXPATHLEN 1024
|
||||
#endif
|
||||
|
||||
extern char *getwd();
|
||||
extern char *getwd(char *);
|
||||
|
||||
char *
|
||||
getcwd(buf, size)
|
||||
char *buf;
|
||||
int size;
|
||||
getcwd(char *buf, int size)
|
||||
{
|
||||
char localbuf[MAXPATHLEN+1];
|
||||
char *ret;
|
||||
|
@ -62,9 +60,7 @@ getcwd(buf, size)
|
|||
#endif
|
||||
|
||||
char *
|
||||
getcwd(buf, size)
|
||||
char *buf;
|
||||
int size;
|
||||
getcwd(char *buf, int size)
|
||||
{
|
||||
FILE *fp;
|
||||
char *p;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue