X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FBlockAlloc.h;h=f8b4204e1112d9591f4289c6b83e27c346b90348;hb=529281f2a262ebaee1cbd1514b36de766270419e;hp=b6d451f39fa7f85e2f45e5bbd3d789871470c815;hpb=f6013eedb4dea47afac8167dfa08561ae90454db;p=ghc-hetmet.git diff --git a/rts/sm/BlockAlloc.h b/rts/sm/BlockAlloc.h index b6d451f..f8b4204 100644 --- a/rts/sm/BlockAlloc.h +++ b/rts/sm/BlockAlloc.h @@ -9,12 +9,13 @@ #ifndef BLOCK_ALLOC_H #define BLOCK_ALLOC_H -BEGIN_RTS_PRIVATE +#include "BeginPrivate.h" /* Debugging -------------------------------------------------------------- */ extern nat countBlocks (bdescr *bd); extern nat countAllocdBlocks (bdescr *bd); +extern void returnMemoryToOS(nat n); #ifdef DEBUG void checkFreeListSanity(void); @@ -26,6 +27,6 @@ void reportUnmarkedBlocks (void); extern lnat n_alloc_blocks; // currently allocated blocks extern lnat hw_alloc_blocks; // high-water allocated blocks -END_RTS_PRIVATE +#include "EndPrivate.h" #endif /* BLOCK_ALLOC_H */