Mass ANSIfication of function definitions. Doesn't cover all 'extern'

declarations yet, those come later.
This commit is contained in:
Thomas Wouters 2000-07-22 18:47:25 +00:00
parent 0452d1f316
commit f70ef4f860
45 changed files with 704 additions and 1526 deletions

View file

@ -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;