mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00: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:
committed by
Qi Wang
parent
6841110bd6
commit
70344a2d38
@@ -48,7 +48,8 @@ struct test_data_s {
|
||||
extent_hooks_t hooks;
|
||||
};
|
||||
|
||||
test_data_t *init_test_data(ssize_t dirty_decay_ms, ssize_t muzzy_decay_ms) {
|
||||
static test_data_t *
|
||||
init_test_data(ssize_t dirty_decay_ms, ssize_t muzzy_decay_ms) {
|
||||
test_data_t *test_data = calloc(1, sizeof(test_data_t));
|
||||
assert_ptr_not_null(test_data, "");
|
||||
init_test_extent_hooks(&test_data->hooks);
|
||||
|
||||
Reference in New Issue
Block a user