From 2838e9a58c0e0f5b51827a69ab54a99099de62f4 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 25 Oct 2011 23:17:37 +0000 Subject: [PATCH] fix warnings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11477 d7cf8633-e32d-0410-b094-e92efae38249 --- cd_null.c | 1 + vid_null.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cd_null.c b/cd_null.c index 18987ada..13826f05 100644 --- a/cd_null.c +++ b/cd_null.c @@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "quakedef.h" +#include "cdaudio.h" void CDAudio_SysEject (void) diff --git a/vid_null.c b/vid_null.c index 4ac7ab11..16631589 100644 --- a/vid_null.c +++ b/vid_null.c @@ -29,13 +29,13 @@ void VID_Shutdown(void) { } -void signal_handler(int sig) +static void signal_handler(int sig) { Con_Printf("Received signal %d, exiting...\n", sig); Sys_Quit(1); } -void InitSig(void) +static void InitSig(void) { #ifndef WIN32 signal(SIGHUP, signal_handler); -- 2.39.2