diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-22 23:57:55 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-22 23:57:55 (GMT) |
commit | bd4bc4e9e947617def66780efbbea4eb08990e56 (patch) | |
tree | 7130e24f3bf2919bf47ff717ac674023816369c7 /Modules/timemodule.c | |
parent | 3b6448fbae16564484a40efa7f418fba02755625 (diff) | |
download | cpython-bd4bc4e9e947617def66780efbbea4eb08990e56.zip cpython-bd4bc4e9e947617def66780efbbea4eb08990e56.tar.gz cpython-bd4bc4e9e947617def66780efbbea4eb08990e56.tar.bz2 |
Even more ANSIfication: fix as many function pointers and declarations as
possible.
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r-- | Modules/timemodule.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index b9aba51..005189a 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -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 * |