mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Tests/LibWasm: Mark two static functions "static"
-Wmissing-declarations would complain about these.
This commit is contained in:
parent
8a0ef17d9a
commit
4ef909c308
Notes:
sideshowbarker
2024-07-17 02:05:41 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/LadybirdBrowser/ladybird/commit/4ef909c308 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/646 Reviewed-by: https://github.com/nico ✅
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue