Fix third party "-Wall -Werror" builds
authorCouriersud <couriersud@arcor.de>
Mon, 12 Jan 2009 22:36:12 +0000
changeset 3033 4e4f47c5f941
parent 3032 77c3e67f0740
child 3034 0e821769fc51
Fix third party "-Wall -Werror" builds
include/SDL_video.h
--- a/include/SDL_video.h	Mon Jan 12 08:46:28 2009 +0000
+++ b/include/SDL_video.h	Mon Jan 12 22:36:12 2009 +0000
@@ -1319,7 +1319,7 @@
  * \sa SDL_EnableScreenSaver()
  * \sa SDL_DisableScreenSaver()
  */
-extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenSaverEnabled();
+extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenSaverEnabled(void);
 
 /**
  * \fn void SDL_EnableScreenSaver();
@@ -1329,7 +1329,7 @@
  * \sa SDL_IsScreenSaverEnabled()
  * \sa SDL_DisableScreenSaver()
  */
-extern DECLSPEC void SDLCALL SDL_EnableScreenSaver();
+extern DECLSPEC void SDLCALL SDL_EnableScreenSaver(void);
 
 /**
  * \fn void SDL_DisableScreenSaver();
@@ -1339,7 +1339,7 @@
  * \sa SDL_IsScreenSaverEnabled()
  * \sa SDL_EnableScreenSaver()
  */
-extern DECLSPEC void SDLCALL SDL_DisableScreenSaver();
+extern DECLSPEC void SDLCALL SDL_DisableScreenSaver(void);
 
 
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */