diff --git a/Services/NotificationServer/NotificationWindow.cpp b/Services/NotificationServer/NotificationWindow.cpp index 974d6b61c1..f4e54bb7de 100644 --- a/Services/NotificationServer/NotificationWindow.cpp +++ b/Services/NotificationServer/NotificationWindow.cpp @@ -29,8 +29,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -40,7 +40,7 @@ namespace NotificationServer { static Vector> s_windows; -void update_notification_window_locations() +static void update_notification_window_locations() { Gfx::IntRect last_window_rect; for (auto& window : s_windows) { diff --git a/Services/WindowServer/Compositor.cpp b/Services/WindowServer/Compositor.cpp index e69c50bac3..7041007c26 100644 --- a/Services/WindowServer/Compositor.cpp +++ b/Services/WindowServer/Compositor.cpp @@ -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;