Fix a variable prototype/definition mismatch.

This commit is contained in:
Jason Evans 2014-01-16 18:04:30 -08:00
parent f234dc51b9
commit eefdd02e70
2 changed files with 7 additions and 3 deletions

View File

@ -200,7 +200,12 @@ extern bool opt_prof_gdump; /* High-water memory dumping. */
extern bool opt_prof_final; /* Final profile dumping. */ extern bool opt_prof_final; /* Final profile dumping. */
extern bool opt_prof_leak; /* Dump leak summary at exit. */ extern bool opt_prof_leak; /* Dump leak summary at exit. */
extern bool opt_prof_accum; /* Report cumulative bytes. */ extern bool opt_prof_accum; /* Report cumulative bytes. */
extern char opt_prof_prefix[PATH_MAX + 1]; extern char opt_prof_prefix[
/* Minimize memory bloat for non-prof builds. */
#ifdef JEMALLOC_PROF
PATH_MAX +
#endif
1];
/* /*
* Profile dump interval, measured in bytes allocated. Each arena triggers a * Profile dump interval, measured in bytes allocated. Each arena triggers a

View File

@ -29,8 +29,7 @@ char opt_prof_prefix[
#ifdef JEMALLOC_PROF #ifdef JEMALLOC_PROF
PATH_MAX + PATH_MAX +
#endif #endif
1 1];
];
uint64_t prof_interval = 0; uint64_t prof_interval = 0;
bool prof_promote; bool prof_promote;