Fix third party "-Wall -Werror" builds
authorCouriersud <couriersud@arcor.de>
Mon, 12 Jan 2009 22:36:12 +0000
changeset 30334e4f47c5f941
parent 3032 77c3e67f0740
child 3034 0e821769fc51
Fix third party "-Wall -Werror" builds
include/SDL_video.h
     1.1 --- a/include/SDL_video.h	Mon Jan 12 08:46:28 2009 +0000
     1.2 +++ b/include/SDL_video.h	Mon Jan 12 22:36:12 2009 +0000
     1.3 @@ -1319,7 +1319,7 @@
     1.4   * \sa SDL_EnableScreenSaver()
     1.5   * \sa SDL_DisableScreenSaver()
     1.6   */
     1.7 -extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenSaverEnabled();
     1.8 +extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenSaverEnabled(void);
     1.9  
    1.10  /**
    1.11   * \fn void SDL_EnableScreenSaver();
    1.12 @@ -1329,7 +1329,7 @@
    1.13   * \sa SDL_IsScreenSaverEnabled()
    1.14   * \sa SDL_DisableScreenSaver()
    1.15   */
    1.16 -extern DECLSPEC void SDLCALL SDL_EnableScreenSaver();
    1.17 +extern DECLSPEC void SDLCALL SDL_EnableScreenSaver(void);
    1.18  
    1.19  /**
    1.20   * \fn void SDL_DisableScreenSaver();
    1.21 @@ -1339,7 +1339,7 @@
    1.22   * \sa SDL_IsScreenSaverEnabled()
    1.23   * \sa SDL_EnableScreenSaver()
    1.24   */
    1.25 -extern DECLSPEC void SDLCALL SDL_DisableScreenSaver();
    1.26 +extern DECLSPEC void SDLCALL SDL_DisableScreenSaver(void);
    1.27  
    1.28  
    1.29  /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */