[Python-checkins] r62177 - python/trunk/Modules/timemodule.c
skip.montanaro
python-checkins at python.org
Sat Apr 5 21:47:47 CEST 2008
Author: skip.montanaro
Date: Sat Apr 5 21:47:47 2008
New Revision: 62177
Modified:
python/trunk/Modules/timemodule.c
Log:
Declare inittimezone static.
Modified: python/trunk/Modules/timemodule.c
==============================================================================
--- python/trunk/Modules/timemodule.c (original)
+++ python/trunk/Modules/timemodule.c Sat Apr 5 21:47:47 2008
@@ -620,7 +620,7 @@
#endif /* HAVE_MKTIME */
#ifdef HAVE_WORKING_TZSET
-void inittimezone(PyObject *module);
+static void inittimezone(PyObject *module);
static PyObject *
time_tzset(PyObject *self, PyObject *unused)
@@ -656,7 +656,8 @@
should not be relied on.");
#endif /* HAVE_WORKING_TZSET */
-void inittimezone(PyObject *m) {
+static void
+inittimezone(PyObject *m) {
/* This code moved from inittime wholesale to allow calling it from
time_tzset. In the future, some parts of it can be moved back
(for platforms that don't HAVE_WORKING_TZSET, when we know what they
More information about the Python-checkins
mailing list