mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-19 19:20:35 +00:00
Fix astmm for new build process
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
astmm.c
3
astmm.c
@@ -23,6 +23,7 @@
|
||||
#include <asterisk/cli.h>
|
||||
#include <asterisk/logger.h>
|
||||
#include <asterisk/options.h>
|
||||
#include <asterisk/lock.h>
|
||||
|
||||
#define SOME_PRIME 563
|
||||
|
||||
@@ -55,7 +56,7 @@ static struct ast_region {
|
||||
#define HASH(a) \
|
||||
(((unsigned long)(a)) % SOME_PRIME)
|
||||
|
||||
static ast_mutex_t reglock = PTHREAD_MUTEX_INITIALIZER;
|
||||
static ast_mutex_t reglock = AST_MUTEX_INITIALIZER;
|
||||
|
||||
static inline void *__ast_alloc_region(size_t size, int which, const char *file, int lineno, const char *func)
|
||||
{
|
||||
|
Reference in New Issue
Block a user