Skip to content

Commit

Permalink
Tests/LibWasm: Mark two static functions "static"
Browse files Browse the repository at this point in the history
-Wmissing-declarations would complain about these.
  • Loading branch information
alimpfard committed Jul 15, 2024
1 parent 8a0ef17 commit 4ef909c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/LibWasm/test-wasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ TESTJS_GLOBAL_FUNCTION(compare_typed_arrays, compareTypedArrays)
return JS::Value(lhs_array.viewed_array_buffer()->buffer() == rhs_array.viewed_array_buffer()->buffer());
}

bool _is_canonical_nan32(u32 value)
static bool _is_canonical_nan32(u32 value)
{
return value == 0x7FC00000 || value == 0xFFC00000;
}

bool _is_canonical_nan64(u64 value)
static bool _is_canonical_nan64(u64 value)
{
return value == 0x7FF8000000000000 || value == 0xFFF8000000000000;
}
Expand Down

0 comments on commit 4ef909c

Please sign in to comment.