Fix -Wmissing-prototypes, -Wmissing-variable-declarations, and -Wstrict-prototypes warnings

This commit is contained in:
Slobodan Predolac 2026-06-05 10:23:22 -07:00
parent 6054b976ef
commit a6048680a8
7 changed files with 12 additions and 9 deletions

View file

@ -3,6 +3,7 @@
#include "jemalloc/internal/jemalloc_internal_inlines_a.h"
#include "jemalloc/internal/peak_event.h"
#include "jemalloc/internal/prof.h"
#include "jemalloc/internal/stats.h"
#include "jemalloc/internal/tcache.h"
#include "jemalloc/internal/thread_event.h"
#include "jemalloc/internal/thread_event_registry.h"
@ -185,7 +186,6 @@ te_update_wait(tsd_t *tsd, uint64_t accumbytes, bool allow, uint64_t *ev_wait,
return ret;
}
extern uint64_t stats_interval_accum_batch;
/* Return number of handlers enqueued into to_trigger array */
static inline size_t
te_update_alloc_events(tsd_t *tsd, te_base_cb_t **to_trigger,