diff --git a/src/test/SDL_test_harness.c b/src/test/SDL_test_harness.c index 271f695e2..75ff58d9f 100644 --- a/src/test/SDL_test_harness.c +++ b/src/test/SDL_test_harness.c @@ -210,7 +210,7 @@ SDLTest_SetTestTimeout(int timeout, void (*callback)(void)) #pragma aux SDLTest_BailOut aborts; #endif static SDL_NORETURN void -SDLTest_BailOut() +SDLTest_BailOut(void) { SDLTest_LogError("TestCaseTimeout timer expired. Aborting test run."); exit(TEST_ABORTED); /* bail out from the test */