RTS tidyup sweep, first phase
[ghc-hetmet.git] / rts / sm / Compact.h
index 4f1d6a2..7a237ac 100644 (file)
@@ -1,13 +1,18 @@
 /* -----------------------------------------------------------------------------
  *
- * (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
-#define GCCOMPACT_H
+#ifndef SM_COMPACT_H
+#define SM_COMPACT_H
 
 INLINE_HEADER rtsBool
 mark_stack_empty(void)
@@ -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 */
+#endif /* SM_COMPACT_H */