}
#endif /* DEBUG_THREADS */
+ ast_assert(res == 0);/*!< \todo BUGBUG Test to ensure that lock/unlock does not fail. */
return res;
}
__ast_mutex_logger("%s line %d (%s): Error: mutex '%s' is uninitialized and unable to initialize.\n",
filename, lineno, func, mutex_name);
}
+ ast_assert(res == 0);/*!< \todo BUGBUG Test to ensure that lock/unlock does not fail. */
return res;
}
#endif /* AST_MUTEX_INIT_W_CONSTRUCTORS */
}
#endif /* DEBUG_THREADS */
+ ast_assert(res == 0);/*!< \todo BUGBUG Test to ensure that lock/unlock does not fail. */
return res;
}
void ast_unregister_file_version(const char *file) { }
#endif
+void __ast_assert_failed(int condition, const char *condition_str, const char *file, int line, const char *function);
+void __ast_assert_failed(int condition, const char *condition_str, const char *file, int line, const char *function)
+{
+ /*! \todo BUGBUG Put here only to allow utils to compile in AST_DEVMODE */
+}
+
struct ast_flags ast_compat = { 7 };
/*** MODULEINFO
int option_debug = 0;
int option_verbose = 0;
+void __ast_assert_failed(int condition, const char *condition_str, const char *file, int line, const char *function);
+void __ast_assert_failed(int condition, const char *condition_str, const char *file, int line, const char *function)
+{
+ /*! \todo BUGBUG Put here only to allow utils to compile in AST_DEVMODE */
+}
+
void ast_register_file_version(const char *file, const char *version);
void ast_register_file_version(const char *file, const char *version)
{