From 8506053aeafb0268f32e6cde8ff488db6607198e Mon Sep 17 00:00:00 2001 From: Charles Who Date: Wed, 11 May 2022 16:23:40 +0800 Subject: [PATCH] Update seatest.h There's a definition of a function pointer in headfile seatest.h, which is not static, may cause multiple definition error --- test/include/seatest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/include/seatest.h b/test/include/seatest.h index 8290d758..8d272416 100644 --- a/test/include/seatest.h +++ b/test/include/seatest.h @@ -20,7 +20,7 @@ typedef void (*seatest_void_string)(char*); /* Declarationsresult_size */ -void (*seatest_simple_test_result)(int passed, char* reason, const char* function, unsigned int line); +//void (*seatest_simple_test_result)(int passed, char* reason, const char* function, unsigned int line);//may cause multiple definition void seatest_test_fixture_start(char* filepath); void seatest_test_fixture_end( void ); void seatest_simple_test_result_log(int passed, char* reason, const char* function, unsigned int line);