mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 17:53:15 +00:00
allows for use of the originate function from
the cli patch 5847 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -290,6 +290,10 @@ void ast_unregister_atexit(void (*func)(void));
|
||||
static struct localuser *localusers = NULL; \
|
||||
static int localusecnt = 0;
|
||||
|
||||
#define STANDARD_USECOUNT_DECL \
|
||||
AST_MUTEX_DEFINE_STATIC(localuser_lock); \
|
||||
static int localusecnt = 0;
|
||||
|
||||
#define STANDARD_INCREMENT_USECOUNT \
|
||||
ast_mutex_lock(&localuser_lock); \
|
||||
localusecnt++; \
|
||||
|
Reference in New Issue
Block a user