From 2e4248ed44391f5460c5bee7820e86c544d78fc3 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Tue, 15 Aug 2017 18:29:47 -0300 Subject: [PATCH] Address a compiler warning. --- src/video/SDL_sysvideo.h | 2 +- src/video/SDL_video.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/SDL_sysvideo.h b/src/video/SDL_sysvideo.h index 936837897..8aaf9d2e8 100644 --- a/src/video/SDL_sysvideo.h +++ b/src/video/SDL_sysvideo.h @@ -403,7 +403,7 @@ extern void *SDL_GetDisplayDriverData( int displayIndex ); extern void SDL_GL_DeduceMaxSupportedESProfile(int* major, int* minor); extern int SDL_RecreateWindow(SDL_Window * window, Uint32 flags); -extern SDL_bool SDL_HasWindows(); +extern SDL_bool SDL_HasWindows(void); extern void SDL_OnWindowShown(SDL_Window * window); extern void SDL_OnWindowHidden(SDL_Window * window); diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 8f7834c0f..8253558e4 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -1609,7 +1609,7 @@ SDL_RecreateWindow(SDL_Window * window, Uint32 flags) } SDL_bool -SDL_HasWindows() +SDL_HasWindows(void) { return (_this && _this->windows != NULL); }