From: havoc Date: Thu, 20 Aug 2009 03:17:28 +0000 (+0000) Subject: Fix warnings in div0's commits using functions with () as parameter list but a protot... X-Git-Tag: xonotic-v0.1.0preview~1497 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2e9672e5e2e088ff3b50e5000b00170d70ab44aa;p=xonotic%2Fdarkplaces.git Fix warnings in div0's commits using functions with () as parameter list but a prototype of (void), MSVC does not like this mistake. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9132 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/console.c b/console.c index 231cacf5..cdeff90a 100644 --- 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); } diff --git a/vid_sdl.c b/vid_sdl.c index 94e0fa24..ea0e8000 100644 --- 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