From ebe4050128fda79e5611e88c6dcd9621d38de599 Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Mon, 22 Oct 2007 20:05:18 +0000 Subject: Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86820 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx/pbx_config.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'pbx/pbx_config.c') diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index 80f64964f..9b112dc18 100644 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -1336,17 +1336,17 @@ static char *handle_cli_dialplan_reload(struct ast_cli_entry *e, int cmd, struct * CLI entries for commands provided by this module */ static struct ast_cli_entry cli_pbx_config[] = { - AST_CLI(handle_cli_dialplan_add_extension, "Add new extension into context"), - AST_CLI(handle_cli_dialplan_remove_extension, "Remove a specified extension"), - AST_CLI(handle_cli_dialplan_add_ignorepat, "Add new ignore pattern"), - AST_CLI(handle_cli_dialplan_remove_ignorepat, "Remove ignore pattern from context"), - AST_CLI(handle_cli_dialplan_add_include, "Include context in other context"), - AST_CLI(handle_cli_dialplan_remove_include, "Remove a specified include from context"), - AST_CLI(handle_cli_dialplan_reload, "Reload extensions and *only* extensions") + AST_CLI_DEFINE(handle_cli_dialplan_add_extension, "Add new extension into context"), + AST_CLI_DEFINE(handle_cli_dialplan_remove_extension, "Remove a specified extension"), + AST_CLI_DEFINE(handle_cli_dialplan_add_ignorepat, "Add new ignore pattern"), + AST_CLI_DEFINE(handle_cli_dialplan_remove_ignorepat, "Remove ignore pattern from context"), + AST_CLI_DEFINE(handle_cli_dialplan_add_include, "Include context in other context"), + AST_CLI_DEFINE(handle_cli_dialplan_remove_include, "Remove a specified include from context"), + AST_CLI_DEFINE(handle_cli_dialplan_reload, "Reload extensions and *only* extensions") }; static struct ast_cli_entry cli_dialplan_save = - AST_CLI(handle_cli_dialplan_save, "Save dialplan"); + AST_CLI_DEFINE(handle_cli_dialplan_save, "Save dialplan"); /*! * Standard module functions ... -- cgit v1.2.3