Commit c67d5089 authored by Stefan Behnel's avatar Stefan Behnel

Fix C89 "declarations after code" issue.

parent d55bb94a
...@@ -1410,8 +1410,9 @@ static CYTHON_INLINE PyThreadState *__Pyx_FastGil_get_tcur(void) { ...@@ -1410,8 +1410,9 @@ static CYTHON_INLINE PyThreadState *__Pyx_FastGil_get_tcur(void) {
static PyGILState_STATE __Pyx_FastGil_PyGILState_Ensure(void) { static PyGILState_STATE __Pyx_FastGil_PyGILState_Ensure(void) {
int current; int current;
PyThreadState *tcur;
__Pyx_FastGIL_Remember0(); __Pyx_FastGIL_Remember0();
PyThreadState *tcur = __Pyx_FastGil_get_tcur(); tcur = __Pyx_FastGil_get_tcur();
if (tcur == NULL) { if (tcur == NULL) {
// Uninitialized, need to initialize now. // Uninitialized, need to initialize now.
return PyGILState_Ensure(); return PyGILState_Ensure();
......
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