[asterisk-commits] rmudgett: trunk r395243 - /trunk/main/bridging.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 24 09:35:05 CDT 2013


Author: rmudgett
Date: Wed Jul 24 09:35:03 2013
New Revision: 395243

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395243
Log:
Let the compiler do more type checking with bridge hook callbacks.

Modified:
    trunk/main/bridging.c

Modified: trunk/main/bridging.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/bridging.c?view=diff&rev=395243&r1=395242&r2=395243
==============================================================================
--- trunk/main/bridging.c (original)
+++ trunk/main/bridging.c Wed Jul 24 09:35:03 2013
@@ -83,7 +83,7 @@
 static char builtin_features_dtmf[AST_BRIDGE_BUILTIN_END][MAXIMUM_DTMF_FEATURE_STRING];
 
 /*! Function handlers for the built in features */
-static void *builtin_features_handlers[AST_BRIDGE_BUILTIN_END];
+static ast_bridge_hook_callback builtin_features_handlers[AST_BRIDGE_BUILTIN_END];
 
 /*! Function handlers for built in interval features */
 static ast_bridge_builtin_set_limits_fn builtin_interval_handlers[AST_BRIDGE_BUILTIN_INTERVAL_END];




More information about the asterisk-commits mailing list