diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-12-06 07:15:16 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-12-06 07:15:16 +0000 |
commit | efc7c78ba40fecc94a1000c5e5ddbf923cc700c2 (patch) | |
tree | 914fa79db4249ad89184f2cfa716190faccd5b1c /include | |
parent | edfd096c3a7f793ee67a6aca1bf2f59aeae07228 (diff) |
Make the "usage" member of the ast_cli_entry struct const to resolve a compiler
warning.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/cli.h | 2 |
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'. |