mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-29 11:14:27 +01:00
Added void keyword to empty parameter list to avoid getting warnings or errors from picky compilers.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@32 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
@@ -41,11 +41,11 @@ struct _Unity
|
|||||||
|
|
||||||
extern struct _Unity Unity;
|
extern struct _Unity Unity;
|
||||||
|
|
||||||
void CreateResults();
|
void CreateResults(void);
|
||||||
|
|
||||||
void UnityBegin();
|
void UnityBegin(void);
|
||||||
void UnityEnd(void);
|
void UnityEnd(void);
|
||||||
long UnityGetNumFailures(void);
|
long UnityGetNumFailures(void);
|
||||||
|
|
||||||
void UnityPrintChar(const char ch);
|
void UnityPrintChar(const char ch);
|
||||||
void UnityPrint(const char* string);
|
void UnityPrint(const char* string);
|
||||||
@@ -54,7 +54,7 @@ void UnityPrintNumberByStyle(const long number, const UNITY_DISPLAY_STYLE_T styl
|
|||||||
void UnityPrintNumber(const long number);
|
void UnityPrintNumber(const long number);
|
||||||
void UnityPrintNumberUnsigned(const unsigned long number);
|
void UnityPrintNumberUnsigned(const unsigned long number);
|
||||||
void UnityPrintNumberHex(const unsigned long number, const char nibbles);
|
void UnityPrintNumberHex(const unsigned long number, const char nibbles);
|
||||||
void UnityConcludeTest();
|
void UnityConcludeTest(void);
|
||||||
|
|
||||||
void UnityAssertEqualInt(const long expected,
|
void UnityAssertEqualInt(const long expected,
|
||||||
const long actual,
|
const long actual,
|
||||||
|
|||||||
Reference in New Issue
Block a user