diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-19 18:29:40 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-19 18:29:40 +0000 |
commit | d542122e6a00ac0c2ee0f5178a2b3682f0fd48c3 (patch) | |
tree | 449c79f9794d0470ca27cb420554eb128bee9d9e /include/asterisk/cli.h | |
parent | 4723d35127a1da861d28ce2ae2ee0e8bbd7c3e7b (diff) |
Convert NEW_CLI to AST_CLI.
Closes issue #11039, as suggested by seanbright.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86536 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/cli.h')
-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 f73d219d4..59d91ab8c 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 - NEW_CLI(new_setdebug, "short description") + AST_CLI(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 NEW_CLI(fn, txt , ... ) { .new_handler = fn, .summary = txt, ## __VA_ARGS__ } +#define AST_CLI(fn, txt , ... ) { .new_handler = fn, .summary = txt, ## __VA_ARGS__ } /*! * Helper function to generate cli entries from a NULL-terminated array. |