Skip to content
Snippets Groups Projects
Commit e280cb5f authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix astmm for new build process

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 63373352
Branches
Tags
No related merge requests found
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <asterisk/cli.h> #include <asterisk/cli.h>
#include <asterisk/logger.h> #include <asterisk/logger.h>
#include <asterisk/options.h> #include <asterisk/options.h>
#include <asterisk/lock.h>
#define SOME_PRIME 563 #define SOME_PRIME 563
...@@ -55,7 +56,7 @@ static struct ast_region { ...@@ -55,7 +56,7 @@ static struct ast_region {
#define HASH(a) \ #define HASH(a) \
(((unsigned long)(a)) % SOME_PRIME) (((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) static inline void *__ast_alloc_region(size_t size, int which, const char *file, int lineno, const char *func)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment