diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2020-08-10 23:50:38 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-12 20:40:59 +0200 |
commit | 5fe6ca75caded2626be587e033527761b8cfc0be (patch) | |
tree | 5fe52ed9a52d1437b3087f1d9a2dc5013e700333 /AK/Tests | |
parent | 0248ddc427c3e100226c733b9209c902312cdf73 (diff) | |
download | serenity-5fe6ca75caded2626be587e033527761b8cfc0be.zip |
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.
Diffstat (limited to 'AK/Tests')
-rw-r--r-- | AK/Tests/TestMemoryStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/Tests/TestMemoryStream.cpp b/AK/Tests/TestMemoryStream.cpp index 2234ae5078..dce3963e2c 100644 --- a/AK/Tests/TestMemoryStream.cpp +++ b/AK/Tests/TestMemoryStream.cpp @@ -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; |