From d98b74d3ad7c535684b2e251dd29f5c66f6dc514 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Wed, 13 Jan 2016 12:30:54 -0500 Subject: [PATCH] Fix some missing prototype warnings --- src/events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }