diff options
author | Matt O'Gorman <mogorman@digium.com> | 2006-01-18 15:42:48 +0000 |
---|---|---|
committer | Matt O'Gorman <mogorman@digium.com> | 2006-01-18 15:42:48 +0000 |
commit | c8147343079125f7487151f6b6950fe5624c238e (patch) | |
tree | ca9bd0bd2ffacf73e80bf759789d981e6b921cf7 /include/asterisk/module.h | |
parent | 8dc9457bb7d080ee23ffd1981f2af252e8bdeb17 (diff) |
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
Diffstat (limited to 'include/asterisk/module.h')
-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++; \ |