From efc7c78ba40fecc94a1000c5e5ddbf923cc700c2 Mon Sep 17 00:00:00 2001 From: Russell Bryant <russell@russellbryant.com> Date: Wed, 6 Dec 2006 07:15:16 +0000 Subject: [PATCH] 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 --- include/asterisk/cli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'. -- GitLab