mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:07:36 +00:00
AK: Mark compilation-unit-only functions as static
This enables a nice warning in case a function becomes dead code. Also, add forgotten header to Base64.cpp, which would cause an issue later when we enable -Wmissing-declarations.
This commit is contained in:
parent
0248ddc427
commit
5fe6ca75ca
2 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include <AK/Stream.h>
|
||||
|
||||
bool compare(ReadonlyBytes lhs, ReadonlyBytes rhs)
|
||||
static bool compare(ReadonlyBytes lhs, ReadonlyBytes rhs)
|
||||
{
|
||||
if (lhs.size() != rhs.size())
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue