]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45582: Fix signature of _Py_Get_Getpath_CodeObject (GH-29921)
authorChristian Heimes <christian@python.org>
Sun, 5 Dec 2021 17:41:46 +0000 (19:41 +0200)
committerGitHub <noreply@github.com>
Sun, 5 Dec 2021 17:41:46 +0000 (18:41 +0100)
Modules/getpath.c

index c8c85a8540d3948087c8d2d26f2d0c0ff6cb37b3..f77b18eee95b6590673a043c6bb2b530f2cc2d6b 100644 (file)
@@ -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));