summaryrefslogtreecommitdiff
path: root/rts/Weak.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Weak.h')
-rw-r--r--rts/Weak.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/rts/Weak.h b/rts/Weak.h
index 8fccae2a63..4f60bf9ebd 100644
--- a/rts/Weak.h
+++ b/rts/Weak.h
@@ -12,10 +12,12 @@
#include "Capability.h"
extern rtsBool running_finalizers;
+extern StgWeak * weak_ptr_list;
-void runCFinalizer(StgVoid *fn, StgVoid *ptr, StgVoid *env, StgWord flag);
+void runCFinalizer(void *fn, void *ptr, void *env, StgWord flag);
void runAllCFinalizers(StgWeak *w);
void scheduleFinalizers(Capability *cap, StgWeak *w);
void markWeakList(void);
-#endif
+#endif /* WEAK_H */
+