Clang: function could be declared with attribute 'noreturn' [-Wmissing-noreturn]
@@ -50,7 +50,7 @@ cleanup(void)
unlink(FBASENAME2);
}
-static void
+static SDL_NORETURN void
iostrm_error_quit(unsigned line, SDL_IOStream *iostrm)
{
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "testfile.c(%d): failed", line);
@@ -386,7 +386,7 @@ static void shutdownGPU(void)
/* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
quit(int rc)
shutdownGPU();
@@ -319,7 +319,7 @@ int main(int argc, char **argv)
/**
* Cleans up a bit.
*/
abort_execution(void)
SDL_Log("%s", "");