ast_pbx_outgoing_cdr_failed() is not used outside of pbx.c so make it static
authorRussell Bryant <russell@russellbryant.com>
Sat, 22 Jul 2006 00:38:30 +0000 (00:38 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 22 Jul 2006 00:38:30 +0000 (00:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38078 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx.c

diff --git a/pbx.c b/pbx.c
index c8e6c56..49b92eb 100644 (file)
--- 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);