mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-07 14:23:04 +03:00
Make eligible functions static
The codebase is already very disciplined in making any function which can be `static`, but there are a few that appear to have slipped through the cracks.
This commit is contained in:
parent
6841110bd6
commit
70344a2d38
9 changed files with 16 additions and 14 deletions
|
|
@ -14,7 +14,7 @@ static const uint64_t h_steps[SMOOTHSTEP_NSTEPS] = {
|
|||
* Generate a new deadline that is uniformly random within the next epoch after
|
||||
* the current one.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
decay_deadline_init(decay_t *decay) {
|
||||
nstime_copy(&decay->deadline, &decay->epoch);
|
||||
nstime_add(&decay->deadline, &decay->interval);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue