summaryrefslogtreecommitdiff
path: root/pbx.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-07-22 00:38:30 +0000
committerRussell Bryant <russell@russellbryant.com>2006-07-22 00:38:30 +0000
commitf21d43ad5e06772f2eecef1e0ec0705a96653564 (patch)
treec75e5ef37fb9eba14d10baded288860b1e6e6635 /pbx.c
parentd897bd41c2e2591d159c7380866508bab45ba798 (diff)
ast_pbx_outgoing_cdr_failed() is not used outside of pbx.c so make it static
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx.c')
-rw-r--r--pbx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pbx.c b/pbx.c
index c8e6c5630..49b92ebf0 100644
--- a/pbx.c
+++ b/pbx.c
@@ -211,8 +211,6 @@ static const struct cfextension_states {
{ AST_EXTENSION_INUSE | AST_EXTENSION_ONHOLD, "InUse&Hold" }
};
-int ast_pbx_outgoing_cdr_failed(void);
-
static int pbx_builtin_answer(struct ast_channel *, void *);
static int pbx_builtin_goto(struct ast_channel *, void *);
static int pbx_builtin_hangup(struct ast_channel *, void *);
@@ -4509,7 +4507,7 @@ static void *async_wait(void *data)
* This function posts an empty cdr for a failed spool call
*
*/
-int ast_pbx_outgoing_cdr_failed(void)
+static int ast_pbx_outgoing_cdr_failed(void)
{
/* allocate a channel */
struct ast_channel *chan = ast_channel_alloc(0);