diff options
author | Skip Montanaro <skip@pobox.com> | 2008-04-05 19:47:47 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2008-04-05 19:47:47 (GMT) |
commit | 9e0fa7a13ec3c4381ffa5d9b6f745415fc570d29 (patch) | |
tree | 1a1ef4bf5edc97503be5b9b4001a685d04c5efa3 | |
parent | 2185241a63365c4730af717dae0437143411777a (diff) | |
download | cpython-9e0fa7a13ec3c4381ffa5d9b6f745415fc570d29.zip cpython-9e0fa7a13ec3c4381ffa5d9b6f745415fc570d29.tar.gz cpython-9e0fa7a13ec3c4381ffa5d9b6f745415fc570d29.tar.bz2 |
Declare inittimezone static.
-rw-r--r-- | Modules/timemodule.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index bd1ad06..1adef6d 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -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 |