aboutsummaryrefslogtreecommitdiffstats
path: root/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'db.c')
-rwxr-xr-xdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.c b/db.c
index 372d22df0..4842b71de 100755
--- a/db.c
+++ b/db.c
@@ -38,7 +38,7 @@
#include "astconf.h"
static DB *astdb;
-static ast_mutex_t dblock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(dblock);
static int dbinit(void)
{