]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fix warnings in div0's commits using functions with () as parameter list but a protot...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 20 Aug 2009 03:17:28 +0000 (03:17 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 20 Aug 2009 03:17:28 +0000 (03:17 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9132 d7cf8633-e32d-0410-b094-e92efae38249

console.c
vid_sdl.c

index 231cacf5847b8caea3e2c9e1feee0dcc3d9f8eda..cdeff90ac6cf4a220266795e9e4316873c95608f 100644 (file)
--- a/console.c
+++ b/console.c
@@ -712,7 +712,7 @@ void Con_ConDump_f (void)
        FS_Close(file);
 }
 
-void Con_Clear_f ()
+void Con_Clear_f (void)
 {
        ConBuffer_Clear(&con);
 }
index 94e0fa24750b182f6f7308e3b5c37f687b585a2e..ea0e80005f2dd4eb3528b872da1bd5882c6e69a2 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -342,14 +342,14 @@ static int Sys_EventFilter( SDL_Event *event )
 
 #ifdef SDL_R_RESTART
 static qboolean sdl_needs_restart;
-static void sdl_start()
+static void sdl_start(void)
 {
 }
-static void sdl_shutdown()
+static void sdl_shutdown(void)
 {
        sdl_needs_restart = false;
 }
-static void sdl_newmap()
+static void sdl_newmap(void)
 {
 }
 #endif