Header refactoring: break out qr.h dependencies

This commit is contained in:
David Goldblatt 2017-04-10 17:06:53 -07:00 committed by David Goldblatt
parent 63a5cd4cc2
commit 610cb83419
3 changed files with 4 additions and 1 deletions

View File

@ -180,7 +180,6 @@ static const bool have_percpu_arena =
#include <mach/vm_map.h> #include <mach/vm_map.h>
#endif #endif
#include "jemalloc/internal/qr.h"
#include "jemalloc/internal/ql.h" #include "jemalloc/internal/ql.h"
/* /*

View File

@ -1,6 +1,8 @@
#ifndef JEMALLOC_INTERNAL_QL_H #ifndef JEMALLOC_INTERNAL_QL_H
#define JEMALLOC_INTERNAL_QL_H #define JEMALLOC_INTERNAL_QL_H
#include "jemalloc/internal/qr.h"
/* List definitions. */ /* List definitions. */
#define ql_head(a_type) \ #define ql_head(a_type) \
struct { \ struct { \

View File

@ -1,5 +1,7 @@
#include "test/jemalloc_test.h" #include "test/jemalloc_test.h"
#include "jemalloc/internal/qr.h"
/* Number of ring entries, in [2..26]. */ /* Number of ring entries, in [2..26]. */
#define NENTRIES 9 #define NENTRIES 9
/* Split index, in [1..NENTRIES). */ /* Split index, in [1..NENTRIES). */