]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Put clicompat-r2.patch back in
authorJonathan Rose <jrose@digium.com>
Fri, 25 Oct 2013 17:29:26 +0000 (17:29 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 25 Oct 2013 17:29:26 +0000 (17:29 +0000)
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

utils/clicompat.c

index 33f90fae167b2eb9561000de71e4e69e3cff8b1c..d46ed897d77e9d58e2cb6ab71b723d0477928e37 100644 (file)
@@ -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;
+}