]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45582 Fix prototype of _Py_Get_Getpath_CodeObject. (GH-29907)
authorBenjamin Peterson <benjamin@python.org>
Fri, 3 Dec 2021 23:21:58 +0000 (15:21 -0800)
committerGitHub <noreply@github.com>
Fri, 3 Dec 2021 23:21:58 +0000 (15:21 -0800)
Automerge-Triggered-By: GH:tiran
Include/internal/pycore_initconfig.h

index be545f495dc0fa746bdcf477db0ebcbb54b07836..a2f4cd182e8e92e1d2a9993f8b4b309e146bf4dc 100644 (file)
@@ -168,7 +168,7 @@ PyAPI_FUNC(int) _PyConfig_FromDict(PyConfig *config, PyObject *dict);
 
 extern void _Py_DumpPathConfig(PyThreadState *tstate);
 
-PyAPI_FUNC(PyObject*) _Py_Get_Getpath_CodeObject();
+PyAPI_FUNC(PyObject*) _Py_Get_Getpath_CodeObject(void);
 
 
 /* --- Function used for testing ---------------------------------- */