mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-03 10:44:16 +03:00
Drop umbrella include from 5 small .c files (batch 1)
Replaces #include "jemalloc_internal_includes.h" with explicit per-symbol includes in five small TUs: src/edata.c -> edata.h src/exp_grow.c -> exp_grow.h src/ticker.c -> ticker.h src/bin_info.c -> assert.h, bin_info.h src/counter.c -> counter.h, witness.h One latent hermeticity bug surfaced: sz.h's sz_large_size_classes_disabled() inline references opt_disable_large_size_classes (declared in jemalloc_internal_externs.h) but sz.h didn't include that header. Worked under the umbrella but breaks once consumers stop including everything. Added the include to sz.h so it stands on its own. Step 6 (Option B) of the cyclical-dep cleanup, batch 1 of N.
This commit is contained in:
parent
a54018337c
commit
22c3dc450c
6 changed files with 9 additions and 5 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include "jemalloc/internal/jemalloc_preamble.h"
|
||||
#include "jemalloc/internal/bit_util.h"
|
||||
#include "jemalloc/internal/jemalloc_internal_externs.h"
|
||||
#include "jemalloc/internal/pages.h"
|
||||
#include "jemalloc/internal/sc.h"
|
||||
#include "jemalloc/internal/util.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue