#ifndef SM_GC_H
#define SM_GC_H
+BEGIN_RTS_PRIVATE
+
void GarbageCollect(rtsBool force_major_gc, nat gc_type, Capability *cap);
typedef void (*evac_fn)(void *user, StgClosure **root);
extern nat mutlist_MUTVARS, mutlist_MUTARRS, mutlist_MVARS, mutlist_OTHERS;
#endif
-#ifdef THREADED_RTS
-extern SpinLock gc_alloc_block_sync;
-#endif
-
#if defined(PROF_SPIN) && defined(THREADED_RTS)
extern StgWord64 whitehole_spin;
#endif
#define WORK_UNIT_WORDS 128
+END_RTS_PRIVATE
+
#endif /* SM_GC_H */