From: Jonathan Rose Date: Fri, 25 Oct 2013 17:29:26 +0000 (+0000) Subject: Put clicompat-r2.patch back in X-Git-Tag: 11.7.0-rc1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2e28fae9cce3abb28bc0f8b09b00a4f046f83d5;p=thirdparty%2Fasterisk.git Put clicompat-r2.patch back in We've figured out how to resolve the problems this was causing in 12/trunk, so this can go back in now. (issue ASTERISK-22467) Reported by: Corey Farrell Patches: clicompat-r2.patch uploaded by coreyfarrell (license 5909) ........ Merged revisions 401914 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@401935 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/utils/clicompat.c b/utils/clicompat.c index 33f90fae16..d46ed897d7 100644 --- a/utils/clicompat.c +++ b/utils/clicompat.c @@ -9,8 +9,18 @@ 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_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; +}