]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make the "usage" member of the ast_cli_entry struct const to resolve a compiler
authorRussell Bryant <russell@russellbryant.com>
Wed, 6 Dec 2006 07:15:16 +0000 (07:15 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 6 Dec 2006 07:15:16 +0000 (07:15 +0000)
warning.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48299 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/cli.h

index 6b8308e75570467e76fdbd4cedcc5fd79598fdcb..8f6b0b84b095a3b7bd390ecaad7de6c94a4f4f50 100644 (file)
@@ -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'.