From 2e9672e5e2e088ff3b50e5000b00170d70ab44aa Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 20 Aug 2009 03:17:28 +0000 Subject: [PATCH] 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 --- console.c | 2 +- vid_sdl.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2