mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13: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,7 @@ TEST_BEGIN(test_pow2_ceil_zu) {
|
||||
}
|
||||
TEST_END
|
||||
|
||||
void
|
||||
static void
|
||||
expect_lg_ceil_range(size_t input, unsigned answer) {
|
||||
if (input == 1) {
|
||||
expect_u_eq(0, answer, "Got %u as lg_ceil of 1", answer);
|
||||
@@ -60,7 +60,7 @@ expect_lg_ceil_range(size_t input, unsigned answer) {
|
||||
"Got %u as lg_ceil of %zu", answer, input);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
expect_lg_floor_range(size_t input, unsigned answer) {
|
||||
if (input == 1) {
|
||||
expect_u_eq(0, answer, "Got %u as lg_floor of 1", answer);
|
||||
|
||||
Reference in New Issue
Block a user