1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-30 19:54:26 +01:00

Fixed copy and paste error, changed the signature from:

void flushSpy(int c) {}
to:
 void flushSpy(void) {}
This commit is contained in:
Fabian Zahn
2018-02-18 16:32:04 +01:00
parent 37271e8a13
commit 5f67ac6ab2
4 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@
/* Include Passthroughs for Linking Tests */ /* Include Passthroughs for Linking Tests */
void putcharSpy(int c) { (void)putchar(c);} void putcharSpy(int c) { (void)putchar(c);}
void flushSpy(int c) {} void flushSpy(void) {}
/* Global Variables Used During These Tests */ /* Global Variables Used During These Tests */
int CounterSetup = 0; int CounterSetup = 0;

View File

@@ -16,7 +16,7 @@ TEST_FILE("some_file.c")
/* Include Passthroughs for Linking Tests */ /* Include Passthroughs for Linking Tests */
void putcharSpy(int c) { (void)putchar(c);} void putcharSpy(int c) { (void)putchar(c);}
void flushSpy(int c) {} void flushSpy(void) {}
/* Global Variables Used During These Tests */ /* Global Variables Used During These Tests */
int CounterSetup = 0; int CounterSetup = 0;

View File

@@ -25,7 +25,7 @@
/* Include Passthroughs for Linking Tests */ /* Include Passthroughs for Linking Tests */
void putcharSpy(int c) { (void)putchar(c);} void putcharSpy(int c) { (void)putchar(c);}
void flushSpy(int c) {} void flushSpy(void) {}
/* Global Variables Used During These Tests */ /* Global Variables Used During These Tests */
int CounterSetup = 0; int CounterSetup = 0;

View File

@@ -13,7 +13,7 @@
/* Include Passthroughs for Linking Tests */ /* Include Passthroughs for Linking Tests */
void putcharSpy(int c) { (void)putchar(c);} void putcharSpy(int c) { (void)putchar(c);}
void flushSpy(int c) {} void flushSpy(void) {}
#define EXPECT_ABORT_BEGIN \ #define EXPECT_ABORT_BEGIN \
if (TEST_PROTECT()) \ if (TEST_PROTECT()) \