mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
set correct type for lock initializers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -571,11 +571,11 @@ static inline int __ast_cond_timedwait(const char *filename, int lineno, const c
|
||||
#else /* !DEBUG_THREADS */
|
||||
|
||||
|
||||
#define AST_MUTEX_INIT_VALUE PTHREAD_MUTEX_INIT_VALUE
|
||||
|
||||
|
||||
typedef pthread_mutex_t ast_mutex_t;
|
||||
|
||||
#define AST_MUTEX_INIT_VALUE ((ast_mutex_t)PTHREAD_MUTEX_INIT_VALUE)
|
||||
|
||||
static inline int ast_mutex_init(ast_mutex_t *pmutex)
|
||||
{
|
||||
pthread_mutexattr_t attr;
|
||||
|
Reference in New Issue
Block a user