[asterisk-commits] russell: trunk r48299 - /trunk/include/asterisk/cli.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Dec 6 00:15:16 MST 2006


Author: russell
Date: Wed Dec  6 01:15:16 2006
New Revision: 48299

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48299
Log:
Make the "usage" member of the ast_cli_entry struct const to resolve a compiler
warning.

Modified:
    trunk/include/asterisk/cli.h

Modified: trunk/include/asterisk/cli.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/cli.h?view=diff&rev=48299&r1=48298&r2=48299
==============================================================================
--- trunk/include/asterisk/cli.h (original)
+++ trunk/include/asterisk/cli.h Wed Dec  6 01:15:16 2006
@@ -165,7 +165,7 @@
 	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'.



More information about the asterisk-commits mailing list