diff options
author | mogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-18 15:42:48 +0000 |
---|---|---|
committer | mogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-18 15:42:48 +0000 |
commit | 8b2bdbe6c641da83023e85fe108c73be0de6c004 (patch) | |
tree | ca9bd0bd2ffacf73e80bf759789d981e6b921cf7 /include | |
parent | 08260a724107bdad06c95cde5ae5204c0721d88c (diff) |
allows for use of the originate function from
the cli patch 5847
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8186 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/module.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h index afb90ce24..ec01ba115 100644 --- a/include/asterisk/module.h +++ b/include/asterisk/module.h @@ -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++; \ |