提交 5f67ac6a 编写于 作者: F Fabian Zahn

Fixed copy and paste error, changed the signature from:

 void flushSpy(int c) {}
to:
 void flushSpy(void) {}
上级 37271e8a
......@@ -24,7 +24,7 @@
/* Include Passthroughs for Linking Tests */
void putcharSpy(int c) { (void)putchar(c);}
void flushSpy(int c) {}
void flushSpy(void) {}
/* Global Variables Used During These Tests */
int CounterSetup = 0;
......
......@@ -16,7 +16,7 @@ TEST_FILE("some_file.c")
/* Include Passthroughs for Linking Tests */
void putcharSpy(int c) { (void)putchar(c);}
void flushSpy(int c) {}
void flushSpy(void) {}
/* Global Variables Used During These Tests */
int CounterSetup = 0;
......
......@@ -25,7 +25,7 @@
/* Include Passthroughs for Linking Tests */
void putcharSpy(int c) { (void)putchar(c);}
void flushSpy(int c) {}
void flushSpy(void) {}
/* Global Variables Used During These Tests */
int CounterSetup = 0;
......
......@@ -13,7 +13,7 @@
/* Include Passthroughs for Linking Tests */
void putcharSpy(int c) { (void)putchar(c);}
void flushSpy(int c) {}
void flushSpy(void) {}
#define EXPECT_ABORT_BEGIN \
if (TEST_PROTECT()) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册