From 23a2c7f4678c20de0c8e203e4888f23eae205462 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 9 Dec 2009 11:21:10 +0100 Subject: [PATCH] Cleanup --- bacula/src/lib/lockmgr.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bacula/src/lib/lockmgr.h b/bacula/src/lib/lockmgr.h index 19ae9322f2..7b7017f8d1 100644 --- a/bacula/src/lib/lockmgr.h +++ b/bacula/src/lib/lockmgr.h @@ -29,6 +29,8 @@ #ifndef _LOCKMGR_H #define _LOCKMGR_H 1 +#include "mutex_list.h" /* Manage mutex with priority in a central place */ + /* * P and V op that don't use the lock manager (for memory allocation or on * win32) @@ -203,13 +205,7 @@ int lmgr_thread_create(pthread_t *thread, # define V(x) lmgr_v(&(x)) # define BTHREAD_MUTEX_PRIORITY(p) PTHREAD_MUTEX_INITIALIZER # define BTHREAD_MUTEX_NO_PRIORITY PTHREAD_MUTEX_INITIALIZER -# define BTHREAD_MUTEX_PRIORITY_1 PTHREAD_MUTEX_INITIALIZER -# define BTHREAD_MUTEX_PRIORITY_2 PTHREAD_MUTEX_INITIALIZER -# define BTHREAD_MUTEX_PRIORITY_3 PTHREAD_MUTEX_INITIALIZER -# define BTHREAD_MUTEX_PRIORITY_4 PTHREAD_MUTEX_INITIALIZER # define BTHREAD_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER #endif /* _USE_LOCKMGR */ -#include "mutex_list.h" /* Manage mutex with priority in a central place */ - #endif /* _LOCKMGR_H */ -- 2.39.5