From: bdemsky Date: Fri, 15 Apr 2011 23:55:56 +0000 (+0000) Subject: more bug fixes X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b84c8a5a800d0c14a10898e9b0d97355458c79b8;p=IRC.git more bug fixes --- diff --git a/Robust/src/Runtime/garbage.c b/Robust/src/Runtime/garbage.c index 712096c8..a826f3fa 100644 --- a/Robust/src/Runtime/garbage.c +++ b/Robust/src/Runtime/garbage.c @@ -106,11 +106,6 @@ __thread struct listitem litem; #endif -struct pointerblock { - void * ptrs[NUMPTRS]; - struct pointerblock *next; -}; - void * curr_heapbase=0; void * curr_heapptr=0; void * curr_heapgcpoint=0; diff --git a/Robust/src/Runtime/garbage.h b/Robust/src/Runtime/garbage.h index fd6f57c3..8d82ea12 100644 --- a/Robust/src/Runtime/garbage.h +++ b/Robust/src/Runtime/garbage.h @@ -9,6 +9,12 @@ #define NUMPTRS 100 +struct pointerblock { + void * ptrs[NUMPTRS]; + struct pointerblock *next; +}; + + struct garbagelist { int size; struct garbagelist *next; diff --git a/Robust/src/Runtime/taskgarbage.c b/Robust/src/Runtime/taskgarbage.c index 8b256f3c..c8539486 100644 --- a/Robust/src/Runtime/taskgarbage.c +++ b/Robust/src/Runtime/taskgarbage.c @@ -3,6 +3,7 @@ #include "structdefs.h" #include "SimpleHash.h" #include "GenericHashtable.h" +#include #ifdef TASK