Commit 2e4248ed44391f5460c5bee7820e86c544d78fc3

Alex Szpakowski 2017-08-15T18:29:47

Address a compiler warning.

diff --git a/src/video/SDL_sysvideo.h b/src/video/SDL_sysvideo.h
index 9368378..8aaf9d2 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 8f7834c..8253558 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);
 }