From 6997509823e8c2cb1c7482942e316255415399ca Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 5 Dec 2021 17:14:16 +0100 Subject: [PATCH] bpo-45582: Fix signature of _Py_Get_Getpath_CodeObject --- Modules/getpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/getpath.c b/Modules/getpath.c index c8c85a8540d394..f77b18eee95b65 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));