From e468e73b9e5c60f2cd1f46efae104a9d891ed47b Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Sat, 22 Feb 2014 02:31:04 +0000 Subject: Remove extra defines of AST_PBX_MAX_STACK. * Ensure AST_PBX_MAX_STACK is only defined in extconf.h and pbx.h. * Fix incorrect function parameters in utils/extconf.c. (closes issue ASTERISK-23141) Reported by: Maxim Review: https://reviewboard.asterisk.org/r/3241/ ........ Merged revisions 408785 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 408786 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 408787 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@408788 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/pbx.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'main/pbx.c') diff --git a/main/pbx.c b/main/pbx.c index 734b9eef2..3662e85bb 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -1625,10 +1625,6 @@ int pbx_exec(struct ast_channel *c, /*!< Channel */ return res; } - -/*! Go no deeper than this through includes (not counting loops) */ -#define AST_PBX_MAX_STACK 128 - static struct ast_app *pbx_findapp_nolock(const char *name) { struct ast_app *cur; -- cgit v1.2.3