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 --- main/dnsmgr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/dnsmgr.c') diff --git a/main/dnsmgr.c b/main/dnsmgr.c index f6372e62b..b4c8e6307 100644 --- a/main/dnsmgr.c +++ b/main/dnsmgr.c @@ -338,9 +338,9 @@ static char *handle_cli_status(struct ast_cli_entry *e, int cmd, struct ast_cli_ return CLI_SUCCESS; } -static struct ast_cli_entry cli_reload = AST_CLI(handle_cli_reload, "Reloads the DNS manager configuration"); -static struct ast_cli_entry cli_refresh = AST_CLI(handle_cli_refresh, "Performs an immediate refresh"); -static struct ast_cli_entry cli_status = AST_CLI(handle_cli_status, "Display the DNS manager status"); +static struct ast_cli_entry cli_reload = AST_CLI_DEFINE(handle_cli_reload, "Reloads the DNS manager configuration"); +static struct ast_cli_entry cli_refresh = AST_CLI_DEFINE(handle_cli_refresh, "Performs an immediate refresh"); +static struct ast_cli_entry cli_status = AST_CLI_DEFINE(handle_cli_status, "Display the DNS manager status"); int dnsmgr_init(void) { -- cgit v1.2.3