summaryrefslogtreecommitdiff
path: root/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'memory.c')
-rw-r--r--memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/memory.c b/memory.c
index 04c716d..4606ef2 100644
--- a/memory.c
+++ b/memory.c
@@ -68,11 +68,11 @@ allocarray(arrayDataType t, int rank, int size)
}
void
-incref(Array *a)
+incarrayref(Array *a)
{
/* print("INCREF %d->%d %S\n", a->refs, a->refs+1, pparray(a)); */
a->refs++;
if(a->type == AtypeArray)
for(int i = 0; i < a->size; i++)
- incref(a->arraydata[i]);
+ incarrayref(a->arraydata[i]);
} \ No newline at end of file