OK. THis a DEBUG_THREADS situation.
authorSteve Murphy <murf@digium.com>
Mon, 1 Oct 2007 23:33:07 +0000 (23:33 +0000)
committerSteve Murphy <murf@digium.com>
Mon, 1 Oct 2007 23:33:07 +0000 (23:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84331 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils/check_expr.c

index 8b13626..ef0908d 100644 (file)
@@ -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,