From 628abe4463ed40cd54ca952a2b4cc2d6e74073f7 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 5 Dec 2021 19:41:46 +0200 Subject: bpo-45582: Fix signature of _Py_Get_Getpath_CodeObject (GH-29921) --- Modules/getpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v0.12