diff options
author | Jason Evans <je@fb.com> | 2014-01-17 02:04:30 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2014-01-17 02:04:30 (GMT) |
commit | eefdd02e70ec1b9cf11920fcff585835dcbd766b (patch) | |
tree | 3be4e2cd883362089ccbca6b70dba1399f4c552e /include | |
parent | f234dc51b9740242d8ba69307db7c5a1312f5a03 (diff) | |
download | jemalloc-eefdd02e70ec1b9cf11920fcff585835dcbd766b.zip jemalloc-eefdd02e70ec1b9cf11920fcff585835dcbd766b.tar.gz jemalloc-eefdd02e70ec1b9cf11920fcff585835dcbd766b.tar.bz2 |
Fix a variable prototype/definition mismatch.
Diffstat (limited to 'include')
-rw-r--r-- | include/jemalloc/internal/prof.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/jemalloc/internal/prof.h b/include/jemalloc/internal/prof.h index 4a8073f..566739b 100644 --- a/include/jemalloc/internal/prof.h +++ b/include/jemalloc/internal/prof.h @@ -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_leak; /* Dump leak summary at exit. */ 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 |