add comment: __thread is not supported by gcc on OS X yet
[ghc-hetmet.git] / rts / sm / Compact.h
index 8f037c3..7fe15e5 100644 (file)
@@ -1,6 +1,6 @@
 /* -----------------------------------------------------------------------------
  *
- * (c) The GHC Team 1998-2005
+ * (c) The GHC Team 1998-2008
  *
  * Compacting garbage collector
  *
  *
  * ---------------------------------------------------------------------------*/
 
-#ifndef GCCOMPACT_H
-#define GCCOMPACT_H
+#ifndef SM_COMPACT_H
+#define SM_COMPACT_H
+
+BEGIN_RTS_PRIVATE
 
 INLINE_HEADER rtsBool
 mark_stack_empty(void)
@@ -74,6 +76,8 @@ is_marked(StgPtr p, bdescr *bd)
     return (*bitmap_word & bit_mask);
 }
 
-extern void compact (StgClosure *static_objects);
+void compact (StgClosure *static_objects);
+
+END_RTS_PRIVATE
 
-#endif /* GCCOMPACT_H */
+#endif /* SM_COMPACT_H */