mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +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:
parent
7cb2b344c0
commit
1396ce8a9b
Notes:
sideshowbarker
2024-07-19 03:42:20 +09:00
Author: https://github.com/BenWiederhake
Commit: 1396ce8a9b
Pull-request: https://github.com/SerenityOS/serenity/pull/3096
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/stelar7
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue