summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-12-05 17:41:46 (GMT)
committerGitHub <noreply@github.com>2021-12-05 17:41:46 (GMT)
commit628abe4463ed40cd54ca952a2b4cc2d6e74073f7 (patch)
treec5cb2d6500a41b665846f9fe436ab85aaff80a48
parent605f4bf7838dbef86b52c955dc21ab489219490f (diff)
downloadcpython-628abe4463ed40cd54ca952a2b4cc2d6e74073f7.zip
cpython-628abe4463ed40cd54ca952a2b4cc2d6e74073f7.tar.gz
cpython-628abe4463ed40cd54ca952a2b4cc2d6e74073f7.tar.bz2
bpo-45582: Fix signature of _Py_Get_Getpath_CodeObject (GH-29921)
-rw-r--r--Modules/getpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c
index c8c85a8..f77b18e 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -783,7 +783,7 @@ library_to_dict(PyObject *dict, const char *key)
PyObject *
-_Py_Get_Getpath_CodeObject()
+_Py_Get_Getpath_CodeObject(void)
{
return PyMarshal_ReadObjectFromString(
(const char*)_Py_M__getpath, sizeof(_Py_M__getpath));