cpp: Use #pragma once instead of #ifndef guards
[ghc.git] / rts / sm / Scav.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team 1998-2008
4 *
5 * Generational garbage collector: scavenging functions
6 *
7 * Documentation on the architecture of the Garbage Collector can be
8 * found in the online commentary:
9 *
10 * http://ghc.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
11 *
12 * ---------------------------------------------------------------------------*/
13
14 #pragma once
15
16 #include "BeginPrivate.h"
17
18 void scavenge_loop (void);
19 void scavenge_capability_mut_lists (Capability *cap);
20
21 #ifdef THREADED_RTS
22 void scavenge_loop1 (void);
23 void scavenge_capability_mut_Lists1 (Capability *cap);
24 #endif
25
26 #include "EndPrivate.h"