diff --git a/extras/fixture/test/unity_output_Spy.c b/extras/fixture/test/unity_output_Spy.c index 5aa48f17ed46166ac68b4f710d9ad7e8e3c16238..54fca51bc103b98c2ee9f9a8bc3a02ba5f23563e 100644 --- a/extras/fixture/test/unity_output_Spy.c +++ b/extras/fixture/test/unity_output_Spy.c @@ -33,7 +33,7 @@ void UnityOutputCharSpy_Destroy(void) free(buffer); } -int UnityOutputCharSpy_OutputChar(int c) +void UnityOutputCharSpy_OutputChar(int c) { if (spy_enable) { @@ -44,7 +44,6 @@ int UnityOutputCharSpy_OutputChar(int c) { putchar(c); } - return c; } const char * UnityOutputCharSpy_Get(void) diff --git a/extras/fixture/test/unity_output_Spy.h b/extras/fixture/test/unity_output_Spy.h index 791f6a58d6f8058084f6dba20b9f8f3fa1346873..6e7af7bf2c699a276fc0c22cbfd6e5e2f7da75d4 100644 --- a/extras/fixture/test/unity_output_Spy.h +++ b/extras/fixture/test/unity_output_Spy.h @@ -10,7 +10,7 @@ void UnityOutputCharSpy_Create(int s); void UnityOutputCharSpy_Destroy(void); -int UnityOutputCharSpy_OutputChar(int c); +void UnityOutputCharSpy_OutputChar(int c); const char * UnityOutputCharSpy_Get(void); void UnityOutputCharSpy_Enable(int enable);