fix warnings introduced by changes in _Assert_Exit_ macro

This commit is contained in:
Bruno Mongazon-Cazavet
2023-02-23 09:56:24 +01:00
parent fcc41355ea
commit 9db78ab4d6
9 changed files with 26 additions and 19 deletions
+6
View File
@@ -40,6 +40,12 @@ RRC_release_list_t rrc_release_info;
void exit_function(const char *file, const char *function, const int line, const char *s, const int assert)
{
if (assert) {
abort();
} else {
sleep(1); // allow other threads to exit first
exit(EXIT_SUCCESS);
}
}
nfapi_mode_t nfapi_mod = -1;