]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Declare inittimezone static.
authorSkip Montanaro <skip@pobox.com>
Sat, 5 Apr 2008 19:47:47 +0000 (19:47 +0000)
committerSkip Montanaro <skip@pobox.com>
Sat, 5 Apr 2008 19:47:47 +0000 (19:47 +0000)
Modules/timemodule.c

index bd1ad06f49f48ee7bcb2e268673c09ba137f5d05..1adef6db6cacb4e398962d27047169481abc4b34 100644 (file)
@@ -620,7 +620,7 @@ Convert a time tuple in local time to seconds since the Epoch.");
 #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 @@ the local timezone used by methods such as localtime, but this behaviour\n\
 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