aboutsummaryrefslogtreecommitdiffstats
path: root/utils.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-26 00:34:31 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-26 00:34:31 +0000
commit431ef0f4c1c1a5de4ecc3b646f872c5b3c51b894 (patch)
tree80a5b08d8058a08885105fb094ed15b87bdd7890 /utils.c
parentb40f9ac39fb2e5c5519a3d348c6405d312a37a34 (diff)
Ensure that lock.h is included in utils.c with AST_API_MODULE defined so that
the implementations will be properly included when the AST_INLINE_API functions are not going to be inlined. (issue #9124, festr) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@56729 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.c b/utils.c
index 321f9113a..7dc020c83 100644
--- a/utils.c
+++ b/utils.c
@@ -39,7 +39,9 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+#define AST_API_MODULE
#include "asterisk/lock.h"
+
#include "asterisk/io.h"
#include "asterisk/logger.h"
#include "asterisk/md5.h"