From 3fd2a705ee9812c3ab3cd0f98d4a91e18d796dfe Mon Sep 17 00:00:00 2001 From: Ronald Kinard Date: Fri, 14 Nov 2014 00:04:54 -0600 Subject: [PATCH] Maybe this is the last warning related commit? --- src/sdl/i_system.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c index c0f6801a..a1e91ec7 100644 --- a/src/sdl/i_system.c +++ b/src/sdl/i_system.c @@ -301,7 +301,7 @@ SDL_bool framebuffer = SDL_FALSE; UINT8 keyboard_started = false; -static void signal_handler(INT32 num) +FUNCNORETURN static ATTRNORETURN void signal_handler(INT32 num) { //static char msg[] = "oh no! back to reality!\r\n"; const char * sigmsg; @@ -350,7 +350,7 @@ static void signal_handler(INT32 num) I_Quit(); } -#if defined (NDEBUG) && !defined (DC) && !defined (_WIN32_WCE) +#if !defined (DC) FUNCNORETURN static ATTRNORETURN void quit_handler(int num) { signal(num, SIG_DFL); //default signal action