From aa0a6518a27c15d345544756f3c808d9eb773a15 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 15 Oct 2019 08:54:25 -0400 Subject: [PATCH] test: Fixed compiler warning on Visual Studio. --- src/test/SDL_test_harness.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */