From: Russell Bryant Date: Wed, 6 Dec 2006 07:23:32 +0000 (+0000) Subject: Constify a bunch of the usage strings for CLI commands. X-Git-Tag: 1.6.0-beta1~3^2~3779 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a44e55a3f3efdc5dde27954dfcf5e1e5da579971;p=thirdparty%2Fasterisk.git Constify a bunch of the usage strings for CLI commands. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48302 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 45a7693f79..2d5bee5f36 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -9639,109 +9639,109 @@ static struct ast_switch iax2_switch = matchmore: iax2_matchmore, }; -static char show_stats_usage[] = +static const char show_stats_usage[] = "Usage: iax2 show stats\n" " Display statistics on IAX channel driver.\n"; -static char set_mtu_usage[] = +static const char set_mtu_usage[] = "Usage: iax2 set mtu \n" " Set the system-wide IAX IP mtu to bytes net or zero to disable.\n" " Disabling means that the operating system must handle fragmentation of UDP packets\n" " when the IAX2 trunk packet exceeds the UDP payload size.\n" " This is substantially below the IP mtu. Try 1240 on ethernets.\n" " Must be 172 or greater for G.711 samples.\n"; -static char show_cache_usage[] = +static const char show_cache_usage[] = "Usage: iax2 show cache\n" " Display currently cached IAX Dialplan results.\n"; -static char show_peer_usage[] = +static const char show_peer_usage[] = "Usage: iax2 show peer \n" " Display details on specific IAX peer\n"; -static char prune_realtime_usage[] = +static const char prune_realtime_usage[] = "Usage: iax2 prune realtime [|all]\n" " Prunes object(s) from the cache\n"; -static char iax2_reload_usage[] = +static const char iax2_reload_usage[] = "Usage: iax2 reload\n" " Reloads IAX configuration from iax.conf\n"; -static char show_prov_usage[] = +static const char show_prov_usage[] = "Usage: iax2 provision