From 357b275239d2e461cd2a3dbaf4d091932824abd4 Mon Sep 17 00:00:00 2001 From: "David M. Lee" Date: Mon, 5 Aug 2013 14:35:00 +0000 Subject: Fix res_ari_asterisk load issue The new res_ari_asterisk.so module presents several config options from asterisk main. Unfortunately, they aren't exported, so the module won't load on Linux. This patch renames the variables, adding the ast_ prefix so they will be exported. Review: https://reviewboard.asterisk.org/r/2737 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396166 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- utils/extconf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils') diff --git a/utils/extconf.c b/utils/extconf.c index c679c4c3e..be3216312 100644 --- a/utils/extconf.c +++ b/utils/extconf.c @@ -1894,9 +1894,9 @@ struct ast_flags ast_options = { AST_DEFAULT_OPTIONS }; extern int option_verbose; extern int option_debug; /*!< Debugging */ -extern int option_maxcalls; /*!< Maximum number of simultaneous channels */ -extern double option_maxload; -extern char defaultlanguage[]; +extern int ast_option_maxcalls; /*!< Maximum number of simultaneous channels */ +extern double ast_option_maxload; +extern char ast_defaultlanguage[]; extern pid_t ast_mainpid; -- cgit v1.2.3