diff options
Diffstat (limited to 'cdr/cdr_odbc.c')
-rwxr-xr-x | cdr/cdr_odbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_odbc.c b/cdr/cdr_odbc.c index 2bcd9d3f7..acd23270a 100755 --- a/cdr/cdr_odbc.c +++ b/cdr/cdr_odbc.c @@ -41,7 +41,7 @@ static char *dsn = NULL, *username = NULL, *password = NULL, *loguniqueid = NULL static int dsn_alloc = 0, username_alloc = 0, password_alloc = 0, loguniqueid_alloc = 0; static int connected = 0; -static ast_mutex_t odbc_lock = AST_MUTEX_INITIALIZER; +AST_MUTEX_DEFINE_STATIC(odbc_lock); static int odbc_do_query(void); static int odbc_init(void); |