Skip to content
Snippets Groups Projects
Commit 554eb745 authored by Corey Farrell's avatar Corey Farrell
Browse files

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
........

Merged revisions 433500 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@433501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 3ddd9290
No related branches found
No related tags found
No related merge requests found
......@@ -998,9 +998,6 @@ static int locals_cmp_cb(void *obj, void *arg, int flags)
*/
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");
......
......@@ -14,6 +14,13 @@ int ast_register_atexit(void (*func)(void))
{
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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment