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:
Kevin Svetlitski
2023-05-08 12:37:18 -07:00
committed by Qi Wang
parent 6841110bd6
commit 70344a2d38
9 changed files with 16 additions and 14 deletions

View File

@@ -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);