[asterisk-commits] coreyfarrell: branch 13 r433500 - in /branches/13: ./ main/ utils/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Mar 26 18:07:18 CDT 2015
Author: coreyfarrell
Date: Thu Mar 26 18:07:15 2015
New Revision: 433500
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=433500
Log:
Fix compile errors caused by r4500 / r4501.
* Add ast_register_cleanup to utils/clicompat.c to deal with
any utils that copy sources from main.
* Asterisk 13+: remove unused variables from core_local.c.
Review: https://reviewboard.asterisk.org/r/4534/
........
Merged revisions 433499 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
branches/13/ (props changed)
branches/13/main/core_local.c
branches/13/utils/clicompat.c
Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: branches/13/main/core_local.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/main/core_local.c?view=diff&rev=433500&r1=433499&r2=433500
==============================================================================
--- branches/13/main/core_local.c (original)
+++ branches/13/main/core_local.c Thu Mar 26 18:07:15 2015
@@ -1001,9 +1001,6 @@
*/
static void local_shutdown(void)
{
- struct local_pvt *p;
- struct ao2_iterator it;
-
/* First, take us out of the channel loop */
ast_cli_unregister_multiple(cli_local, ARRAY_LEN(cli_local));
ast_manager_unregister("LocalOptimizeAway");
Modified: branches/13/utils/clicompat.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/utils/clicompat.c?view=diff&rev=433500&r1=433499&r2=433500
==============================================================================
--- branches/13/utils/clicompat.c (original)
+++ branches/13/utils/clicompat.c Thu Mar 26 18:07:15 2015
@@ -14,6 +14,13 @@
{
return 0;
}
+
+int ast_register_cleanup(void (*func)(void));
+int ast_register_cleanup(void (*func)(void))
+{
+ return 0;
+}
+
int ast_cli_register_multiple(struct ast_cli_entry *e, int len);
int ast_cli_register_multiple(struct ast_cli_entry *e, int len)
{
More information about the asterisk-commits
mailing list