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:
parent
76da9a4a7d
commit
3ec7b8b33c
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue