Commit 45c9dceb authored by Benjamin Peterson's avatar Benjamin Peterson

fix c89 declaration order

parent 041c38a7
...@@ -36,8 +36,9 @@ Py_ssize_t quick_int_allocs, quick_neg_int_allocs; ...@@ -36,8 +36,9 @@ Py_ssize_t quick_int_allocs, quick_neg_int_allocs;
static PyObject * static PyObject *
get_small_int(sdigit ival) get_small_int(sdigit ival)
{ {
PyObject *v;
assert(-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS); assert(-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS);
PyObject *v = (PyObject *)&small_ints[ival + NSMALLNEGINTS]; v = (PyObject *)&small_ints[ival + NSMALLNEGINTS];
Py_INCREF(v); Py_INCREF(v);
#ifdef COUNT_ALLOCS #ifdef COUNT_ALLOCS
if (ival >= 0) if (ival >= 0)
......
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