diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-01 23:20:20 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-01 23:20:20 +0000 |
commit | 2c8dd534a7d77d25bdefb28fb6063ca7c64bd13d (patch) | |
tree | acab4983d1445d7397a7034fccd72c9d1796dd5f /utils/check_expr.c | |
parent | 9d3e81a7d888ae911aa91605061938464c2df682 (diff) |
This mod will allow check_expr to compile in the presence of DEBUG_THREAD situations. At least, it does for me. And it's less expensive than several other approaches I tried.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84329 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/check_expr.c')
-rw-r--r-- | utils/check_expr.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/utils/check_expr.c b/utils/check_expr.c index 3eeff07eb..70714d40d 100644 --- a/utils/check_expr.c +++ b/utils/check_expr.c @@ -88,6 +88,22 @@ int __ast_str_helper(struct ast_str **buf, size_t max_len, return res; } +void ast_store_lock_info(enum ast_lock_type type, const char *filename, + int line_num, const char *func, const char *lock_name, void *lock_addr) +{ + /* not a lot to do in a standalone w/o threading! */ +} + +void ast_mark_lock_acquired(void) +{ + /* not a lot to do in a standalone w/o threading! */ +} + +void ast_remove_lock_info(void *lock_addr) +{ + /* not a lot to do in a standalone w/o threading! */ +} + static int global_lineno = 1; static int global_expr_count=0; static int global_expr_max_size=0; |