src/SDL_assert.c
changeset 10616 d17dd08640a4
parent 9998 f67cf37e9cd4
child 10737 3406a0f8b041
     1.1 --- a/src/SDL_assert.c	Tue Nov 15 01:24:58 2016 -0800
     1.2 +++ b/src/SDL_assert.c	Tue Nov 15 01:30:08 2016 -0800
     1.3 @@ -111,7 +111,8 @@
     1.4      }
     1.5  }
     1.6  
     1.7 -static void SDL_ExitProcess(int exitcode)
     1.8 +
     1.9 +static SDL_NORETURN void SDL_ExitProcess(int exitcode)
    1.10  {
    1.11  #ifdef __WIN32__
    1.12      ExitProcess(exitcode);
    1.13 @@ -120,7 +121,8 @@
    1.14  #endif
    1.15  }
    1.16  
    1.17 -static void SDL_AbortAssertion(void)
    1.18 +
    1.19 +static SDL_NORETURN void SDL_AbortAssertion(void)
    1.20  {
    1.21      SDL_Quit();
    1.22      SDL_ExitProcess(42);