Even more ANSIfication: fix as many function pointers and declarations as

possible.
This commit is contained in:
Thomas Wouters 2000-07-22 23:57:55 +00:00
parent 3b6448fbae
commit bd4bc4e9e9
10 changed files with 18 additions and 17 deletions

View file

@ -49,7 +49,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#ifdef HAVE_FTIME
#include <sys/timeb.h>
#if !defined(MS_WINDOWS) && !defined(PYOS_OS2)
extern int ftime();
extern int ftime(struct timeb *);
#endif /* MS_WINDOWS */
#endif /* HAVE_FTIME */
@ -384,7 +384,8 @@ See the library reference manual for formatting codes.";
#ifdef HAVE_STRPTIME
#if 0
extern char *strptime(); /* Enable this if it's not declared in <time.h> */
/* Enable this if it's not declared in <time.h> */
extern char *strptime(const char *, const char *, struct tm *);
#endif
static PyObject *