Fix ARMCC compiler warning: Missing arg type.

Anna Bridge 2016-05-25 15:48:29 +01:00
parent 20a80cd0da
commit 706e5a0473
2 changed files with 4 additions and 4 deletions

View File

@ -21,14 +21,14 @@
extern "C"
void utest_unity_assert_failure()
void utest_unity_assert_failure(void)
{
UTEST_LOG_FUNCTION();
utest::v1::Harness::raise_failure(utest::v1::REASON_ASSERTION);
}
extern "C"
void utest_unity_ignore_failure()
void utest_unity_ignore_failure(void)
{
UTEST_LOG_FUNCTION();
utest::v1::Harness::raise_failure(utest::v1::failure_reason_t(utest::v1::REASON_ASSERTION | utest::v1::REASON_IGNORE));

View File

@ -22,9 +22,9 @@
#include <stdint.h>
/// this function is called from the unity module when an assertion failed.
void utest_unity_assert_failure();
void utest_unity_assert_failure(void);
/// this function is called from the unity module when an assertion failed, but is ignored.
void utest_unity_ignore_failure();
void utest_unity_ignore_failure(void);
#endif // UTEST_UNITY_ASSERT_FAILURE_H