summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-03 13:00:34 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-03 13:00:34 (GMT)
commit0a6363d7e1d3061211faa2323752819e371e0ad2 (patch)
tree861ab9a0e951c20d4a68569127103eaecd90bb76 /Modules/timemodule.c
parente0d7dae3b8008b5037df6cb212ca6efacf7a012d (diff)
downloadcpython-0a6363d7e1d3061211faa2323752819e371e0ad2.zip
cpython-0a6363d7e1d3061211faa2323752819e371e0ad2.tar.gz
cpython-0a6363d7e1d3061211faa2323752819e371e0ad2.tar.bz2
Get rid of the strptype() declaration -- on some BSD systems, it's a
conflict, and it should be declared in time.h anyway. (Too bad if gcc -Wall won't be happy if it isn't declared...)
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index e862ae5..3cf30d6 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -402,7 +402,7 @@ See the library reference manual for formatting codes.";
#endif /* HAVE_STRFTIME */
#ifdef HAVE_STRPTIME
-extern char *strptime(); /* In case it's not declared somehow */
+/* extern char *strptime(); /* Enable this if it's not declared in <time.h> */
static PyObject *
time_strptime(self, args)