mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Even more ANSIfication: fix as many function pointers and declarations as
possible.
This commit is contained in:
parent
3b6448fbae
commit
bd4bc4e9e9
10 changed files with 18 additions and 17 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue