aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/cli.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-06 07:15:16 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-06 07:15:16 +0000
commit7de3a194dc87e605c9f7c2ded74543f850370ba0 (patch)
tree914fa79db4249ad89184f2cfa716190faccd5b1c /include/asterisk/cli.h
parent2695844cc9fd1ad8ca420cb78097209bbf943e2a (diff)
Make the "usage" member of the ast_cli_entry struct const to resolve a compiler
warning. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48299 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/cli.h')
-rw-r--r--include/asterisk/cli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/cli.h b/include/asterisk/cli.h
index 6b8308e75..8f6b0b84b 100644
--- a/include/asterisk/cli.h
+++ b/include/asterisk/cli.h
@@ -165,7 +165,7 @@ struct ast_cli_entry {
old_cli_fn handler;
const char *summary; /*!< Summary of the command (< 60 characters) */
- char *usage; /*!< Detailed usage information */
+ const char *usage; /*!< Detailed usage information */
/*! Generate the n-th (starting from 0) possible completion
for a given 'word' following 'line' in position 'pos'.