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