mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 17:47:22 +03:00
Make quarantine_init() static.
This commit is contained in:
parent
c002a5c800
commit
9cf2be0a81
3 changed files with 2 additions and 4 deletions
|
|
@ -338,9 +338,8 @@ prof_thread_name_get
|
||||||
prof_thread_name_set
|
prof_thread_name_set
|
||||||
quarantine
|
quarantine
|
||||||
quarantine_alloc_hook
|
quarantine_alloc_hook
|
||||||
quarantine_cleanup
|
|
||||||
quarantine_alloc_hook_work
|
quarantine_alloc_hook_work
|
||||||
quarantine_init
|
quarantine_cleanup
|
||||||
register_zone
|
register_zone
|
||||||
rtree_delete
|
rtree_delete
|
||||||
rtree_get
|
rtree_get
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@ struct quarantine_s {
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
#ifdef JEMALLOC_H_EXTERNS
|
#ifdef JEMALLOC_H_EXTERNS
|
||||||
|
|
||||||
quarantine_t *quarantine_init(tsd_t *tsd, size_t lg_maxobjs);
|
|
||||||
void quarantine_alloc_hook_work(tsd_t *tsd);
|
void quarantine_alloc_hook_work(tsd_t *tsd);
|
||||||
void quarantine(tsd_t *tsd, void *ptr);
|
void quarantine(tsd_t *tsd, void *ptr);
|
||||||
void quarantine_cleanup(tsd_t *tsd);
|
void quarantine_cleanup(tsd_t *tsd);
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ static void quarantine_drain(tsd_t *tsd, quarantine_t *quarantine,
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
quarantine_t *
|
static quarantine_t *
|
||||||
quarantine_init(tsd_t *tsd, size_t lg_maxobjs)
|
quarantine_init(tsd_t *tsd, size_t lg_maxobjs)
|
||||||
{
|
{
|
||||||
quarantine_t *quarantine;
|
quarantine_t *quarantine;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue