diff options
Diffstat (limited to 'res/res_parking.c')
-rwxr-xr-x | res/res_parking.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |