From: Russell Bryant Date: Wed, 6 Dec 2006 07:15:16 +0000 (+0000) Subject: Make the "usage" member of the ast_cli_entry struct const to resolve a compiler X-Git-Tag: 1.6.0-beta1~3^2~3781 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efc7c78ba40fecc94a1000c5e5ddbf923cc700c2;p=thirdparty%2Fasterisk.git 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 --- diff --git a/include/asterisk/cli.h b/include/asterisk/cli.h index 6b8308e755..8f6b0b84b0 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'.