Commit f487a005 authored by Yury Selivanov's avatar Yury Selivanov

Fix warnings for PyEval_GetCoroutineWrapper

parent 7544508f
......@@ -24,7 +24,7 @@ PyAPI_FUNC(PyObject *) PyEval_CallMethod(PyObject *obj,
PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *);
PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *);
PyAPI_FUNC(void) PyEval_SetCoroutineWrapper(PyObject *wrapper);
PyAPI_FUNC(PyObject *) PyEval_GetCoroutineWrapper();
PyAPI_FUNC(PyObject *) PyEval_GetCoroutineWrapper(void);
#endif
struct _frame; /* Avoid including frameobject.h */
......
......@@ -4414,7 +4414,7 @@ PyEval_SetCoroutineWrapper(PyObject *wrapper)
}
PyObject *
PyEval_GetCoroutineWrapper()
PyEval_GetCoroutineWrapper(void)
{
PyThreadState *tstate = PyThreadState_GET();
return tstate->coroutine_wrapper;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment