diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-09 01:45:08 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-09 01:45:08 +0000 |
commit | 7d00f23ad44d18c7041c925f7f556d5d1fe641ac (patch) | |
tree | e9c8ee99dcb97720b3dfb49c87b2f2c0b6f6f6b6 /res/res_monitor.c | |
parent | 523e96fd0323806ed98ca6ce3e58831fc5a392dc (diff) |
Merge FreeBSD locking fixes (bug #1411)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3176 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_monitor.c')
-rwxr-xr-x | res/res_monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c index 2f028ca93..43b6d728e 100755 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -23,7 +23,7 @@ #define AST_MONITOR_DIR AST_SPOOL_DIR "/monitor" -static ast_mutex_t monitorlock = AST_MUTEX_INITIALIZER; +AST_MUTEX_DEFINE_STATIC(monitorlock); static unsigned long seq = 0; |