summaryrefslogtreecommitdiffstats
path: root/Modules/_zoneinfo.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-01-15 08:52:19 (GMT)
committerGitHub <noreply@github.com>2022-01-15 08:52:19 (GMT)
commitcfbde65df318eea243706ff876e5ef834c085e5f (patch)
treef2c33f05688da5e4e39aa2f726251c0aa017baf1 /Modules/_zoneinfo.c
parent305588c67cdede4ef127ada90c1557bc1ef7c200 (diff)
downloadcpython-cfbde65df318eea243706ff876e5ef834c085e5f.zip
cpython-cfbde65df318eea243706ff876e5ef834c085e5f.tar.gz
cpython-cfbde65df318eea243706ff876e5ef834c085e5f.tar.bz2
bpo-46383: Fix signature of zoneinfo module_free function (GH-30607)
Diffstat (limited to 'Modules/_zoneinfo.c')
-rw-r--r--Modules/_zoneinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_zoneinfo.c b/Modules/_zoneinfo.c
index cac3470..1535721 100644
--- a/Modules/_zoneinfo.c
+++ b/Modules/_zoneinfo.c
@@ -2612,7 +2612,7 @@ static PyTypeObject PyZoneInfo_ZoneInfoType = {
// Specify the _zoneinfo module
static PyMethodDef module_methods[] = {{NULL, NULL}};
static void
-module_free(void)
+module_free(void *m)
{
Py_XDECREF(_tzpath_find_tzfile);
_tzpath_find_tzfile = NULL;