Skip to content

Commit 5ce77b5

Browse files
committed
Fix error with C90 mixed declarations
1 parent bbf96c3 commit 5ce77b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,10 @@ init_utils(void)
149149
#else
150150
PyObject *module = Py_InitModule("multicorn._utils", UtilsMethods);
151151
#endif
152-
152+
struct module_state *st;
153153
if (module == NULL)
154154
INITERROR;
155-
struct module_state *st = GETSTATE(module);
155+
st = GETSTATE(module);
156156

157157
#if PY_MAJOR_VERSION >= 3
158158
return module;

0 commit comments

Comments
 (0)