revert clicompat-r2.patch from r401704
authorJonathan Rose <jrose@digium.com>
Fri, 25 Oct 2013 16:59:33 +0000 (16:59 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 25 Oct 2013 16:59:33 +0000 (16:59 +0000)
Patch caused the following build errors against testsuite
https://bamboo.asterisk.org/bamboo/browse/AST-ATRUNKBUILD4-244

(issue ASTERISK-22467)
Reported by: Corey Farrell
........

Merged revisions 401895 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 401896 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 401897 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@401898 65c4cc65-6c06-0410-ace0-fbb531ad65f3

utils/clicompat.c

index d46ed89..33f90fa 100644 (file)
@@ -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;
-}