#ifndef BLOCK_ALLOC_H
#define BLOCK_ALLOC_H
+#include "BeginPrivate.h"
+
/* Debugging -------------------------------------------------------------- */
+extern nat countBlocks (bdescr *bd);
+extern nat countAllocdBlocks (bdescr *bd);
+
#ifdef DEBUG
-extern void checkFreeListSanity(void);
-nat countFreeList(void);
-void markBlocks (bdescr *bd);
-void reportUnmarkedBlocks (void);
+void checkFreeListSanity(void);
+nat countFreeList(void);
+void markBlocks (bdescr *bd);
+void reportUnmarkedBlocks (void);
#endif
extern lnat n_alloc_blocks; // currently allocated blocks
extern lnat hw_alloc_blocks; // high-water allocated blocks
+#include "EndPrivate.h"
+
#endif /* BLOCK_ALLOC_H */