1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:47:34 +00:00

Services: Mark compilation-unit-only functions as static

This enables a nice warning in case a function becomes dead code.
This commit is contained in:
Ben Wiederhake 2020-08-11 00:03:04 +02:00 committed by Andreas Kling
parent 76da9a4a7d
commit 3ec7b8b33c
2 changed files with 3 additions and 3 deletions

View file

@ -45,7 +45,7 @@ Compositor& Compositor::the()
return s_the;
}
WallpaperMode mode_to_enum(const String& name)
static WallpaperMode mode_to_enum(const String& name)
{
if (name == "simple")
return WallpaperMode::Simple;