fix bug in previous patch to this file
[ghc-hetmet.git] / ghc / rts / Weak.h
index 1cdb4d7..ba8c1ca 100644 (file)
@@ -1,6 +1,6 @@
 /* -----------------------------------------------------------------------------
  *
- * (c) The GHC Team, 1998-2004
+ * (c) The GHC Team, 1998-2005
  *
  * Weak pointers / finalizers
  *
@@ -9,8 +9,9 @@
 #ifndef WEAK_H
 #define WEAK_H
 
-void finalizeWeakPointersNow(void);
-void scheduleFinalizers(StgWeak *w);
+#include "Capability.h"
+
+void scheduleFinalizers(Capability *cap, StgWeak *w);
 void markWeakList(void);
 
 #endif