aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_musiconhold.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-22 20:05:18 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-22 20:05:18 +0000
commit7756b987a015d6001cb1f31e06439d4010125185 (patch)
treec308e240451b2777ff9a40a64c62a5e289762709 /res/res_musiconhold.c
parent8451f110520d2d9747dd8fc06cb6aaa8dddcc9c2 (diff)
Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86820 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_musiconhold.c')
-rw-r--r--res/res_musiconhold.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index eec830627..b074394b3 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -1273,9 +1273,9 @@ static char *handle_cli_moh_show_classes(struct ast_cli_entry *e, int cmd, struc
}
static struct ast_cli_entry cli_moh[] = {
- AST_CLI(handle_cli_moh_reload, "Reload MusicOnHold"),
- AST_CLI(handle_cli_moh_show_classes, "List MusicOnHold classes"),
- AST_CLI(handle_cli_moh_show_files, "List MusicOnHold file-based classes")
+ AST_CLI_DEFINE(handle_cli_moh_reload, "Reload MusicOnHold"),
+ AST_CLI_DEFINE(handle_cli_moh_show_classes, "List MusicOnHold classes"),
+ AST_CLI_DEFINE(handle_cli_moh_show_files, "List MusicOnHold file-based classes")
};
static int init_classes(int reload)