From aa6a0be7a8735d2c8e02443b9b96ea79c294d832 Mon Sep 17 00:00:00 2001
From: Petar Popovic <[EMAIL REDACTED]>
Date: Mon, 9 Sep 2024 00:08:06 +0200
Subject: [PATCH] Fix warning: redefinition of typedef
'SDLTest_TestSuiteRunner'
---
src/test/SDL_test_harness.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/SDL_test_harness.c b/src/test/SDL_test_harness.c
index c4eec36727725..68dd0e6713a20 100644
--- a/src/test/SDL_test_harness.c
+++ b/src/test/SDL_test_harness.c
@@ -47,7 +47,7 @@
/* Final result message format */
#define SDLTEST_FINAL_RESULT_FORMAT COLOR_YELLOW ">>> %s '%s':" COLOR_END " %s\n"
-typedef struct SDLTest_TestSuiteRunner {
+struct SDLTest_TestSuiteRunner {
struct
{
SDLTest_TestSuiteReference **testSuites;
@@ -59,7 +59,7 @@ typedef struct SDLTest_TestSuiteRunner {
} user;
SDLTest_ArgumentParser argparser;
-} SDLTest_TestSuiteRunner;
+};
/* ! Timeout for single test case execution */
static Uint32 SDLTest_TestCaseTimeout = 3600;;