X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FBlockAlloc.h;h=f8b4204e1112d9591f4289c6b83e27c346b90348;hb=26f4bfc82f2b2359259578e9c54d476fc2de650f;hp=86836e40b47da6b2eb7beab44bdfc3dd46ebe862;hpb=7d7c187b4a12f1bb350e85cdb0115e19537cc704;p=ghc-hetmet.git diff --git a/rts/sm/BlockAlloc.h b/rts/sm/BlockAlloc.h index 86836e4..f8b4204 100644 --- a/rts/sm/BlockAlloc.h +++ b/rts/sm/BlockAlloc.h @@ -9,10 +9,14 @@ #ifndef BLOCK_ALLOC_H #define BLOCK_ALLOC_H -#pragma GCC visibility push(hidden) +#include "BeginPrivate.h" /* Debugging -------------------------------------------------------------- */ +extern nat countBlocks (bdescr *bd); +extern nat countAllocdBlocks (bdescr *bd); +extern void returnMemoryToOS(nat n); + #ifdef DEBUG void checkFreeListSanity(void); nat countFreeList(void); @@ -23,6 +27,6 @@ void reportUnmarkedBlocks (void); extern lnat n_alloc_blocks; // currently allocated blocks extern lnat hw_alloc_blocks; // high-water allocated blocks -#pragma GCC visibility pop +#include "EndPrivate.h" #endif /* BLOCK_ALLOC_H */