mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-09 22:45:49 +00:00
Merge FreeBSD locking fixes (bug #1411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -152,7 +152,7 @@ void ast_unregister_atexit(void (*func)(void));
|
||||
struct localuser *next; \
|
||||
}
|
||||
|
||||
#define LOCAL_USER_DECL static ast_mutex_t localuser_lock = AST_MUTEX_INITIALIZER; \
|
||||
#define LOCAL_USER_DECL AST_MUTEX_DEFINE_STATIC(localuser_lock); \
|
||||
static struct localuser *localusers = NULL; \
|
||||
static int localusecnt = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user