Fix some missing prototype warnings

This commit is contained in:
Celtic Minstrel 2016-01-13 12:30:54 -05:00
parent eb1d0e2876
commit d98b74d3ad

View File

@ -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;
}