diff --git a/src/events.cpp b/src/events.cpp index aa61793f416..8304d1436b1 100644 --- a/src/events.cpp +++ b/src/events.cpp @@ -325,13 +325,13 @@ const Uint32 resize_timeout = 100; SDL_Event last_resize_event; bool last_resize_event_used = true; -bool resize_comparer(SDL_Event a, SDL_Event b) { +static bool resize_comparer(SDL_Event a, SDL_Event b) { return a.type == SDL_WINDOWEVENT && a.type == b.type && a.window.event == SDL_WINDOWEVENT_RESIZED && a.window.event == b.window.event; } -bool remove_on_resize(const SDL_Event &a) { +static bool remove_on_resize(const SDL_Event &a) { if (a.type == DRAW_EVENT) { return true; }