mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 22:03:07 +00:00
Header refactoring: break out qr.h dependencies
This commit is contained in:
committed by
David Goldblatt
parent
63a5cd4cc2
commit
610cb83419
@@ -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"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -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 { \
|
||||||
|
|||||||
@@ -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). */
|
||||||
|
|||||||
Reference in New Issue
Block a user