mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +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:
committed by
Andreas Kling
parent
76da9a4a7d
commit
3ec7b8b33c
@@ -29,8 +29,8 @@
|
||||
#include <LibGUI/BoxLayout.h>
|
||||
#include <LibGUI/Button.h>
|
||||
#include <LibGUI/Desktop.h>
|
||||
#include <LibGUI/Label.h>
|
||||
#include <LibGUI/ImageWidget.h>
|
||||
#include <LibGUI/Label.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
#include <LibGfx/Bitmap.h>
|
||||
#include <LibGfx/Font.h>
|
||||
@@ -40,7 +40,7 @@ namespace NotificationServer {
|
||||
|
||||
static Vector<RefPtr<NotificationWindow>> s_windows;
|
||||
|
||||
void update_notification_window_locations()
|
||||
static void update_notification_window_locations()
|
||||
{
|
||||
Gfx::IntRect last_window_rect;
|
||||
for (auto& window : s_windows) {
|
||||
|
||||
Reference in New Issue
Block a user