aboutsummaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-09 01:45:08 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-09 01:45:08 +0000
commit7d00f23ad44d18c7041c925f7f556d5d1fe641ac (patch)
treee9c8ee99dcb97720b3dfb49c87b2f2c0b6f6f6b6 /image.c
parent523e96fd0323806ed98ca6ce3e58831fc5a392dc (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 'image.c')
-rwxr-xr-ximage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.c b/image.c
index 01590436c..f0c21035f 100755
--- a/image.c
+++ b/image.c
@@ -33,7 +33,7 @@
#include "astconf.h"
static struct ast_imager *list;
-static ast_mutex_t listlock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(listlock);
int ast_image_register(struct ast_imager *img)
{