Source
xxxxxxxxxx
#include <setjmp.h>
#include <cmocka.h>
/* hint to a compiler that cmocka _fail returns immediately, so it does not raise 'uninitialized variable' warnings */
#if defined(__GNUC__) || defined(__clang__)
# define ZBX_NO_RETURN __attribute__((noreturn))
#else
# define ZBX_NO_RETURN
#endif
ZBX_NO_RETURN void _fail(const char * const file, const int line);
void zbx_mock_test_entry(void **state);
#endif /* ZABBIX_MOCK_TEST_H */