summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2007-10-19 18:29:40 +0000
committerJason Parker <jparker@digium.com>2007-10-19 18:29:40 +0000
commitb0f3e6097e7e40affba1f893c42be66a8d26bd23 (patch)
tree449c79f9794d0470ca27cb420554eb128bee9d9e /include
parent65761cbd7a322352fdb834fedee8d4bbb62be61c (diff)
Convert NEW_CLI to AST_CLI.
Closes issue #11039, as suggested by seanbright. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/cli.h4
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.