Make quarantine_init() static.

This commit is contained in:
Jason Evans 2014-11-07 14:50:38 -08:00
parent c002a5c800
commit 9cf2be0a81
3 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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);

View File

@ -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;