mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-23 20:35:46 +03:00
Fix -Wmissing-prototypes, -Wmissing-variable-declarations, and -Wstrict-prototypes warnings
This commit is contained in:
parent
6054b976ef
commit
a6048680a8
7 changed files with 12 additions and 9 deletions
|
|
@ -7,9 +7,9 @@ void malloc_conf_init(sc_data_t *sc_data, unsigned bin_shard_sizes[SC_NBINS],
|
|||
char readlink_buf[PATH_MAX + 1]);
|
||||
void malloc_abort_invalid_conf(void);
|
||||
|
||||
#ifdef JEMALLOC_JET
|
||||
extern bool had_conf_error;
|
||||
|
||||
#ifdef JEMALLOC_JET
|
||||
bool conf_next(char const **opts_p, char const **k_p, size_t *klen_p,
|
||||
char const **v_p, size_t *vlen_p);
|
||||
void conf_error(
|
||||
|
|
|
|||
|
|
@ -43,6 +43,9 @@ extern char opt_stats_interval_opts[stats_print_tot_num_options + 1];
|
|||
#define STATS_INTERVAL_ACCUM_LG_BATCH_SIZE 6
|
||||
#define STATS_INTERVAL_ACCUM_BATCH_MAX (4 << 20)
|
||||
|
||||
/* Per thread batch accum size for stats_interval; read by thread event. */
|
||||
extern uint64_t stats_interval_accum_batch;
|
||||
|
||||
/* Only accessed by thread event. */
|
||||
extern te_base_cb_t stats_interval_te_handler;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue