1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

Applications: Mark compilation-unit-only functions as static

This enables a nice warning in case a function becomes dead code.
This commit is contained in:
Ben Wiederhake 2020-08-10 23:51:31 +02:00 committed by Andreas Kling
parent 5fe6ca75ca
commit ef9a3b8e46
3 changed files with 6 additions and 6 deletions

View file

@ -134,7 +134,7 @@ static void run_command(int ptm_fd, String command)
}
}
RefPtr<GUI::Window> create_settings_window(TerminalWidget& terminal)
static RefPtr<GUI::Window> create_settings_window(TerminalWidget& terminal)
{
auto window = GUI::Window::construct();
window->set_title("Terminal Settings");