diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2005-12-18 15:44:21 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2005-12-18 15:44:21 (GMT) |
commit | 93d69a7948d3ecebcfd8fd98d0909af56ef4993f (patch) | |
tree | ffd758b81b5f4be00a5fe542f64c5054a7d10f7c /Python/pyarena.c | |
parent | 0149e3a0903be8d47d1d6da0fd9ff3767c517085 (diff) | |
download | cpython-93d69a7948d3ecebcfd8fd98d0909af56ef4993f.zip cpython-93d69a7948d3ecebcfd8fd98d0909af56ef4993f.tar.gz cpython-93d69a7948d3ecebcfd8fd98d0909af56ef4993f.tar.bz2 |
fixed compilation with an ordinary C89 compiler
Diffstat (limited to 'Python/pyarena.c')
-rw-r--r-- | Python/pyarena.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pyarena.c b/Python/pyarena.c index 6c99c64..a262115 100644 --- a/Python/pyarena.c +++ b/Python/pyarena.c @@ -107,8 +107,8 @@ PyArena_Malloc(PyArena *arena, size_t size) int PyArena_AddMallocPointer(PyArena *arena, void *pointer) { - assert(pointer); PyArenaList *tail = arena->a_malloc_tail; + assert(pointer); assert(tail->al_pointer != pointer); tail->al_next = PyArenaList_New(); tail->al_pointer = pointer; @@ -119,8 +119,8 @@ PyArena_AddMallocPointer(PyArena *arena, void *pointer) int PyArena_AddPyObject(PyArena *arena, PyObject *pointer) { - assert(pointer); PyArenaList *tail = arena->a_object_tail; + assert(pointer); tail->al_next = PyArenaList_New(); tail->al_pointer = pointer; arena->a_object_tail = tail->al_next; |