diff options
author | Richard Mudgett <rmudgett@digium.com> | 2014-03-24 23:36:36 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2014-03-24 23:36:36 +0000 |
commit | 89e12de79dce4266bba536e7f7290adf36a737f1 (patch) | |
tree | 79458695c7a43e36033ce22bdd4d038b8d4121ca /utils | |
parent | 6d81951f0d32385842704b258b0bab500ce6f7be (diff) |
locking: Add temporary sanity checks.
Add some temporary sanity checks to hunt for locking problems with the
masquerade supertest.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@411073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ael_main.c | 6 | ||||
-rw-r--r-- | utils/conf2ael.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/utils/ael_main.c b/utils/ael_main.c index b4245c8b4..96898e18f 100644 --- a/utils/ael_main.c +++ b/utils/ael_main.c @@ -37,6 +37,12 @@ void ast_register_file_version(const char *file, const char *version) { } 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 diff --git a/utils/conf2ael.c b/utils/conf2ael.c index ef5225352..fe3c9f30f 100644 --- a/utils/conf2ael.c +++ b/utils/conf2ael.c @@ -80,6 +80,12 @@ char ast_config_AST_SYSTEM_NAME[20] = ""; */ 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) { |