From b84c8a5a800d0c14a10898e9b0d97355458c79b8 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Fri, 15 Apr 2011 23:55:56 +0000 Subject: [PATCH] more bug fixes --- Robust/src/Runtime/garbage.c | 5 ----- Robust/src/Runtime/garbage.h | 6 ++++++ Robust/src/Runtime/taskgarbage.c | 1 + 3 files changed, 7 insertions(+), 5 deletions(-) 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 -- 2.34.1