提交 124bfd80 编写于 作者: M Mark VanderVoord

unity_fixture_internals.h should no be declaring functions without arguments. shame!

上级 d4197dac
......@@ -16,7 +16,7 @@ typedef struct _UNITY_FIXTURE_T
const char* GroupFilter;
} UNITY_FIXTURE_T;
typedef void unityfunction();
typedef void unityfunction(void);
void UnityTestRunner(unityfunction * setup,
unityfunction * body,
unityfunction * teardown,
......@@ -26,15 +26,15 @@ void UnityTestRunner(unityfunction * setup,
const char * file, int line);
void UnityIgnoreTest(const char * printableName);
void UnityMalloc_StartTest();
void UnityMalloc_EndTest();
int UnityFailureCount();
void UnityMalloc_StartTest(void);
void UnityMalloc_EndTest(void);
int UnityFailureCount(void);
int UnityGetCommandLineOptions(int argc, char* argv[]);
void UnityConcludeFixtureTest();
void UnityConcludeFixtureTest(void);
void UnityPointer_Set(void ** ptr, void * newValue);
void UnityPointer_UndoAllSets();
void UnityPointer_Init();
void UnityPointer_UndoAllSets(void);
void UnityPointer_Init(void);
void UnityAssertEqualPointer(const void * expected,
const void * actual,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册