mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
LibGUI: 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
7cb2b344c0
commit
1396ce8a9b
@@ -204,7 +204,7 @@ void WindowServerConnection::handle(const Messages::WindowClient::KeyUp& message
|
||||
Core::EventLoop::current().post_event(*window, move(key_event));
|
||||
}
|
||||
|
||||
MouseButton to_gmousebutton(u32 button)
|
||||
static MouseButton to_gmousebutton(u32 button)
|
||||
{
|
||||
switch (button) {
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user