]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix warnings
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 25 Oct 2011 23:17:37 +0000 (23:17 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 25 Oct 2011 23:17:37 +0000 (23:17 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11477 d7cf8633-e32d-0410-b094-e92efae38249

cd_null.c
vid_null.c

index 18987ada4b78383725534ee4822945784a6c8f6c..13826f0505749368ff83375e4756b9663b876a1c 100644 (file)
--- 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)
index 4ac7ab11a9c336c573c14f8818c5ca5ae3eb1f70..166315892c591ac60ccbe5424eb5e0cd4c6da7a5 100644 (file)
@@ -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);