mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-19 07:07:18 +03:00
Convert the production source files in src/ (69 .c/.cpp) and test/jemalloc_test.h.in to list the headers they actually use, then delete the umbrella. Three consolidated headers (peak_event.h, prof_sys.h, sz.h) also gain explicit transitive includes. Every translation unit now declares what it uses. A missing include now fails at the failing file rather than silently working because something upstream pulled in the world.
6 lines
212 B
C
6 lines
212 B
C
#include "jemalloc/internal/jemalloc_preamble.h"
|
|
|
|
#include "jemalloc/internal/edata.h"
|
|
|
|
ph_gen(, edata_avail, edata_t, avail_link, edata_esnead_comp)
|
|
ph_gen(, edata_heap, edata_t, heap_link, edata_snad_comp)
|