mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-15 17:36:21 +03:00
Hide methods from jemalloc_init.h that are not used in other units
This commit is contained in:
parent
a34a8c5e13
commit
6e7c364e90
3 changed files with 4 additions and 18 deletions
|
|
@ -39,12 +39,14 @@ malloc_is_initializer(void) {
|
|||
#endif
|
||||
}
|
||||
|
||||
bool
|
||||
#ifdef JEMALLOC_THREADED_INIT
|
||||
static bool
|
||||
malloc_initializer_is_set(void) {
|
||||
return malloc_initializer != NO_INITIALIZER;
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
static void
|
||||
malloc_initializer_set(void) {
|
||||
malloc_initializer = INITIALIZER;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue