diff Modules/timemodule.c @ 13667:a6c7bfdd6777 legacy-trunk

Even more ANSIfication: fix as many function pointers and declarations as possible.
author Thomas Wouters <thomas@python.org>
date Sat, 22 Jul 2000 23:57:55 +0000
parents 8a063423e0b7
children 9a5855ea3e56
line wrap: on
line diff
--- a/Modules/timemodule.c	Sat Jul 22 23:56:07 2000 +0000
+++ b/Modules/timemodule.c	Sat Jul 22 23:57:55 2000 +0000
@@ -49,7 +49,7 @@
 #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 @@
 #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 *