From: Jonathan Rose Date: Fri, 25 Oct 2013 16:22:59 +0000 (+0000) Subject: revert clicompat-r2.patch from r401704 X-Git-Tag: 1.8.25.0-rc1~3^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb6293eeaa61ebefef8b084dd18a371991311d61;p=thirdparty%2Fasterisk.git revert clicompat-r2.patch from r401704 Patch caused the following build errors against testsuite https://bamboo.asterisk.org/bamboo/browse/AST-ATRUNKBUILD4-244 (issue ASTERISK-22467) Reported by: Corey Farrell git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@401895 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/utils/clicompat.c b/utils/clicompat.c index d46ed897d7..33f90fae16 100644 --- a/utils/clicompat.c +++ b/utils/clicompat.c @@ -9,18 +9,8 @@ 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; -}