diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-22 20:05:18 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-22 20:05:18 +0000 |
commit | 7756b987a015d6001cb1f31e06439d4010125185 (patch) | |
tree | c308e240451b2777ff9a40a64c62a5e289762709 /include | |
parent | 8451f110520d2d9747dd8fc06cb6aaa8dddcc9c2 (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 'include')
-rw-r--r-- | include/asterisk/cli.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/cli.h b/include/asterisk/cli.h index ba0596d84..f478c4eb0 100644 --- a/include/asterisk/cli.h +++ b/include/asterisk/cli.h @@ -84,7 +84,7 @@ void ast_cli(int fd, const char *fmt, ...) ... // this is how we create the entry to register - AST_CLI(new_setdebug, "short description") + AST_CLI_DEFINE(new_setdebug, "short description") ... To help the transition, we make the pointer to the struct ast_cli_entry @@ -197,7 +197,7 @@ struct ast_cli_entry { /* XXX the parser in gcc 2.95 gets confused if you don't put a space * between the last arg before VA_ARGS and the comma */ -#define AST_CLI(fn, txt , ... ) { .new_handler = fn, .summary = txt, ## __VA_ARGS__ } +#define AST_CLI_DEFINE(fn, txt , ... ) { .new_handler = fn, .summary = txt, ## __VA_ARGS__ } /*! * Helper function to generate cli entries from a NULL-terminated array. |