mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-111178: fix incorrect function signatures for Windows builds (#133072)
This commit is contained in:
parent
4e04511cb9
commit
96bc1721d2
2 changed files with 2 additions and 2 deletions
|
@ -161,7 +161,7 @@ static PyModuleDef testconsole_def = {
|
|||
};
|
||||
|
||||
PyMODINIT_FUNC
|
||||
PyInit__testconsole(PyObject *spec)
|
||||
PyInit__testconsole(void)
|
||||
{
|
||||
return PyModuleDef_Init(&testconsole_def);
|
||||
}
|
||||
|
|
|
@ -157,7 +157,7 @@ PyHKEY_deallocFunc(PyObject *ob)
|
|||
}
|
||||
|
||||
static int
|
||||
PyHKEY_traverseFunc(PyHKEYObject *self, visitproc visit, void *arg)
|
||||
PyHKEY_traverseFunc(PyObject *self, visitproc visit, void *arg)
|
||||
{
|
||||
Py_VISIT(Py_TYPE(self));
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue