Files
asterisk/utils/clicompat.c
Corey Farrell 4b225e2104 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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-03-26 23:07:15 +00:00

34 lines
699 B
C

/*
* Stubs for some cli functions used by the test routines.
* $Revision$
*/
void ast_cli(int fd, const char *fmt, ...);
void ast_cli(int fd, const char *fmt, ...)
{
}
struct ast_cli_entry;
int ast_register_atexit(void (*func)(void));
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)
{
return 0;
}
int ast_cli_unregister_multiple(struct ast_cli_entry *e, int len);
int ast_cli_unregister_multiple(struct ast_cli_entry *e, int len)
{
return 0;
}