Add ASSERTs to all calls of nameModule
[ghc-hetmet.git] / rts / sm / Compact.h
index 4f1d6a2..40622c5 100644 (file)
@@ -1,9 +1,14 @@
 /* -----------------------------------------------------------------------------
  *
- * (c) The GHC Team 1998-2005
+ * (c) The GHC Team 1998-2008
  *
  * 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 */