From: Eric Bollengier Date: Wed, 9 Dec 2009 10:21:10 +0000 (+0100) Subject: Cleanup X-Git-Tag: Release-5.0.0~168 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c6e072e10e416978bd82a849e29159100b707746;p=bacula%2Fbacula Cleanup --- 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 */