X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=rts%2Fsm%2FBlockAlloc.h;h=b6d451f39fa7f85e2f45e5bbd3d789871470c815;hb=f6013eedb4dea47afac8167dfa08561ae90454db;hp=86836e40b47da6b2eb7beab44bdfc3dd46ebe862;hpb=7d7c187b4a12f1bb350e85cdb0115e19537cc704;p=ghc-hetmet.git diff --git a/rts/sm/BlockAlloc.h b/rts/sm/BlockAlloc.h index 86836e4..b6d451f 100644 --- a/rts/sm/BlockAlloc.h +++ b/rts/sm/BlockAlloc.h @@ -9,10 +9,13 @@ #ifndef BLOCK_ALLOC_H #define BLOCK_ALLOC_H -#pragma GCC visibility push(hidden) +BEGIN_RTS_PRIVATE /* Debugging -------------------------------------------------------------- */ +extern nat countBlocks (bdescr *bd); +extern nat countAllocdBlocks (bdescr *bd); + #ifdef DEBUG void checkFreeListSanity(void); nat countFreeList(void); @@ -23,6 +26,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 +END_RTS_PRIVATE #endif /* BLOCK_ALLOC_H */