Reorganisation to fix problems related to the gct register variable
[ghc-hetmet.git] / rts / sm / Compact.h
index 4f1d6a2..8f037c3 100644 (file)
@@ -4,6 +4,11 @@
  *
  * Compacting garbage collector
  *
+ * Documentation on the architecture of the Garbage Collector can be
+ * found in the online commentary:
+ * 
+ *   http://hackage.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
+ *
  * ---------------------------------------------------------------------------*/
 
 #ifndef GCCOMPACT_H
@@ -69,6 +74,6 @@ is_marked(StgPtr p, bdescr *bd)
     return (*bitmap_word & bit_mask);
 }
 
-void compact(void);
+extern void compact (StgClosure *static_objects);
 
 #endif /* GCCOMPACT_H */