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));