Commit aa0a6518a27c15d345544756f3c808d9eb773a15

Ryan C. Gordon 2019-10-15T08:54:25

test: Fixed compiler warning on Visual Studio.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/test/SDL_test_harness.c b/src/test/SDL_test_harness.c
index 271f695..75ff58d 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 */