[asterisk-commits] russell: trunk r38078 - /trunk/pbx.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jul 21 17:38:31 MST 2006


Author: russell
Date: Fri Jul 21 19:38:30 2006
New Revision: 38078

URL: http://svn.digium.com/view/asterisk?rev=38078&view=rev
Log:
ast_pbx_outgoing_cdr_failed() is not used outside of pbx.c so make it static

Modified:
    trunk/pbx.c

Modified: trunk/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx.c?rev=38078&r1=38077&r2=38078&view=diff
==============================================================================
--- trunk/pbx.c (original)
+++ trunk/pbx.c Fri Jul 21 19:38:30 2006
@@ -210,8 +210,6 @@
 	{ AST_EXTENSION_ONHOLD,                        "Hold" },
 	{ 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 *);
@@ -4509,7 +4507,7 @@
  *  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);



More information about the asterisk-commits mailing list