From: Christian Heimes Date: Sun, 5 Dec 2021 17:41:46 +0000 (+0200) Subject: bpo-45582: Fix signature of _Py_Get_Getpath_CodeObject (GH-29921) X-Git-Tag: v3.11.0a3~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=628abe4463ed40cd54ca952a2b4cc2d6e74073f7;p=thirdparty%2FPython%2Fcpython.git bpo-45582: Fix signature of _Py_Get_Getpath_CodeObject (GH-29921) --- diff --git a/Modules/getpath.c b/Modules/getpath.c index c8c85a8540d3..f77b18eee95b 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));