From 727abcdec7ad92fc2fae2585c5c609e0663858a6 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Wed, 9 Jun 2004 01:45:08 +0000 Subject: Merge FreeBSD locking fixes (bug #1411) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_parking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/res_parking.c') diff --git a/res/res_parking.c b/res/res_parking.c index e63f490cb..29db04136 100755 --- a/res/res_parking.c +++ b/res/res_parking.c @@ -84,7 +84,7 @@ struct parkeduser { static struct parkeduser *parkinglot; -static ast_mutex_t parking_lock = AST_MUTEX_INITIALIZER; +AST_MUTEX_DEFINE_STATIC(parking_lock); static pthread_t parking_thread; -- cgit v1.2.3