From: Guido van Rossum Date: Sun, 3 Jan 1999 13:00:34 +0000 (+0000) Subject: Get rid of the strptype() declaration -- on some BSD systems, it's a X-Git-Tag: v1.5.2b2~481 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a6363d7e1d3061211faa2323752819e371e0ad2;p=thirdparty%2FPython%2Fcpython.git 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...) --- diff --git a/Modules/timemodule.c b/Modules/timemodule.c index e862ae5a65a6..3cf30d6c46aa 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 */ static PyObject * time_strptime(self, args)