mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:27:42 +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
2 changed files with 2 additions and 2 deletions
|
@ -633,7 +633,7 @@ void TextEditor::move_selected_lines_down()
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
int strcmp_utf32(const u32* s1, const u32* s2, size_t n)
|
static int strcmp_utf32(const u32* s1, const u32* s2, size_t n)
|
||||||
{
|
{
|
||||||
while (n-- > 0) {
|
while (n-- > 0) {
|
||||||
if (*s1++ != *s2++)
|
if (*s1++ != *s2++)
|
||||||
|
|
|
@ -204,7 +204,7 @@ void WindowServerConnection::handle(const Messages::WindowClient::KeyUp& message
|
||||||
Core::EventLoop::current().post_event(*window, move(key_event));
|
Core::EventLoop::current().post_event(*window, move(key_event));
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseButton to_gmousebutton(u32 button)
|
static MouseButton to_gmousebutton(u32 button)
|
||||||
{
|
{
|
||||||
switch (button) {
|
switch (button) {
|
||||||
case 0:
|
case 0:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue