1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-27 02:11:36 +01:00

Fix C89 warnings about variables at top of scope, enums, variadic macros

Add extern UnityFixture in internals header. Add C89 target in Makefile
 clang will show these warnings but can suppress "//" with -Wno-comment.
This commit is contained in:
jsalling
2016-02-17 22:26:18 -06:00
parent 915e3fb9fc
commit 3bb51bd740
4 changed files with 30 additions and 12 deletions

View File

@@ -15,6 +15,7 @@ struct _UnityFixture
const char* NameFilter;
const char* GroupFilter;
};
extern struct _UnityFixture UnityFixture;
typedef void unityfunction(void);
void UnityTestRunner(unityfunction* setup,