diff options
author | Steve Murphy <murf@digium.com> | 2007-10-01 23:33:07 +0000 |
---|---|---|
committer | Steve Murphy <murf@digium.com> | 2007-10-01 23:33:07 +0000 |
commit | 0d2ee300e77082e6fca99b7cb372c8f16cf0bf63 (patch) | |
tree | 6ff98409767954636059cd143d6b4f48a736785a /utils | |
parent | e8c8bb4a14238f30c9e3093d946e605787575632 (diff) |
OK. THis a DEBUG_THREADS situation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils')
-rw-r--r-- | utils/check_expr.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/check_expr.c b/utils/check_expr.c index 8b1362641..ef0908d73 100644 --- a/utils/check_expr.c +++ b/utils/check_expr.c @@ -87,7 +87,13 @@ int __ast_str_helper(struct ast_str **buf, size_t max_len, return res; } - +#ifndef DEBUG_THREADS +enum ast_lock_type { + AST_MUTEX, + AST_RDLOCK, + AST_WRLOCK, +}; +#endif 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); void ast_store_lock_info(enum ast_lock_type type, const char *filename, |