Address a compiler warning.
authorAlex Szpakowski <slime73@gmail.com>
Tue, 15 Aug 2017 18:29:47 -0300
changeset 1130593ff3c6bff82
parent 11304 03d0ffb1f3dd
child 11306 45fbdef6a227
Address a compiler warning.
src/video/SDL_sysvideo.h
src/video/SDL_video.c
     1.1 --- a/src/video/SDL_sysvideo.h	Tue Aug 15 16:30:26 2017 -0400
     1.2 +++ b/src/video/SDL_sysvideo.h	Tue Aug 15 18:29:47 2017 -0300
     1.3 @@ -403,7 +403,7 @@
     1.4  extern void SDL_GL_DeduceMaxSupportedESProfile(int* major, int* minor);
     1.5  
     1.6  extern int SDL_RecreateWindow(SDL_Window * window, Uint32 flags);
     1.7 -extern SDL_bool SDL_HasWindows();
     1.8 +extern SDL_bool SDL_HasWindows(void);
     1.9  
    1.10  extern void SDL_OnWindowShown(SDL_Window * window);
    1.11  extern void SDL_OnWindowHidden(SDL_Window * window);
     2.1 --- a/src/video/SDL_video.c	Tue Aug 15 16:30:26 2017 -0400
     2.2 +++ b/src/video/SDL_video.c	Tue Aug 15 18:29:47 2017 -0300
     2.3 @@ -1609,7 +1609,7 @@
     2.4  }
     2.5  
     2.6  SDL_bool
     2.7 -SDL_HasWindows()
     2.8 +SDL_HasWindows(void)
     2.9  {
    2.10      return (_this && _this->windows != NULL);
    2.11  }