Header refactoring: break out rb.h dependencies

This commit is contained in:
David Goldblatt
2017-04-10 17:03:25 -07:00
committed by David Goldblatt
parent 2f00ce4da7
commit 63a5cd4cc2
4 changed files with 8 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
#include "test/jemalloc_test.h"
#include "jemalloc/internal/rb.h"
#define rbtn_black_height(a_type, a_field, a_rbt, r_height) do { \
a_type *rbp_bh_t; \
for (rbp_bh_t = (a_rbt)->rbt_root, (r_height) = 0; rbp_bh_t != \