summaryrefslogtreecommitdiff
path: root/utils/conf2ael.c
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2015-05-04 17:41:08 -0400
committerCorey Farrell <git@cfware.com>2015-05-04 20:47:18 -0400
commitdf6c1d755f39308c77f3c49ef0f5fa539e627330 (patch)
tree21f12dd8173c44ce1caa6f3797be062910db2b55 /utils/conf2ael.c
parenta8bfa9e10445744581d18819c64729844ae837fb (diff)
CLI: Enable automatic references to modules.
* Pass module to ast_cli_register and ast_cli_register_multiple. * Add a module reference before executing any CLI callback, remove the reference when complete. ASTERISK-25049 #close Reported by: Corey Farrell Change-Id: I7aafc7c9f2b912918f28fe51d51e9e8a755750e3
Diffstat (limited to 'utils/conf2ael.c')
-rw-r--r--utils/conf2ael.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/conf2ael.c b/utils/conf2ael.c
index 99304b2f5..76a3ad3f2 100644
--- a/utils/conf2ael.c
+++ b/utils/conf2ael.c
@@ -605,9 +605,9 @@ struct ast_context *ast_context_find_or_create(struct ast_context **extcontexts,
return localized_context_find_or_create(extcontexts, exttable, name, registrar);
}
-void ast_cli_register_multiple(void);
+void __ast_cli_register_multiple(void);
-void ast_cli_register_multiple(void)
+void __ast_cli_register_multiple(void)
{
}