diff options
author | Mark Spencer <markster@digium.com> | 2004-06-09 01:45:08 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-06-09 01:45:08 +0000 |
commit | 727abcdec7ad92fc2fae2585c5c609e0663858a6 (patch) | |
tree | e9c8ee99dcb97720b3dfb49c87b2f2c0b6f6f6b6 /asterisk.c | |
parent | c96046b6c2c34b77bcc8a86ab5816c092d21bd7b (diff) |
Merge FreeBSD locking fixes (bug #1411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'asterisk.c')
-rwxr-xr-x | asterisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asterisk.c b/asterisk.c index e6e74efaa..5894da1a8 100755 --- a/asterisk.c +++ b/asterisk.c @@ -83,7 +83,7 @@ static struct ast_atexit { void (*func)(void); struct ast_atexit *next; } *atexits = NULL; -static ast_mutex_t atexitslock = AST_MUTEX_INITIALIZER; +AST_MUTEX_DEFINE_STATIC(atexitslock); time_t ast_startuptime; time_t ast_lastreloadtime; |