]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Get rid of the strptype() declaration -- on some BSD systems, it's a
authorGuido van Rossum <guido@python.org>
Sun, 3 Jan 1999 13:00:34 +0000 (13:00 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 3 Jan 1999 13:00:34 +0000 (13:00 +0000)
conflict, and it should be declared in time.h anyway.
(Too bad if gcc -Wall won't be happy if it isn't declared...)

Modules/timemodule.c

index e862ae5a65a6d76f384d286c53dc0c0a0c7e34c5..3cf30d6c46aa12776cca9a9226e122426d37bfc9 100644 (file)
@@ -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)