diff --git a/channels/chan_agent.c b/channels/chan_agent.c index 40909b21d39a5c3196cdebaca247c3363f0e8027..46a08f63d461322dc16cd393b99b1395035b1f13 100644 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -1712,15 +1712,15 @@ static int agents_show_online(int fd, int argc, char **argv) -static char show_agents_usage[] = +static const char show_agents_usage[] = "Usage: agent show\n" " Provides summary information on agents.\n"; -static char show_agents_online_usage[] = +static const char show_agents_online_usage[] = "Usage: agent show online\n" " Provides a list of all online agents.\n"; -static char agent_logoff_usage[] = +static const char agent_logoff_usage[] = "Usage: agent logoff <channel> [soft]\n" " Sets an agent as no longer logged in.\n" " If 'soft' is specified, do not hangup existing calls.\n"; diff --git a/channels/chan_alsa.c b/channels/chan_alsa.c index 965cb18e045d575fdf544bd98264ada13a0ed703..6c52b3c9f7759a2fce7ea5b6e7df94747db22adf 100644 --- a/channels/chan_alsa.c +++ b/channels/chan_alsa.c @@ -916,7 +916,7 @@ static int console_answer(int fd, int argc, char *argv[]) return RESULT_SUCCESS; } -static char sendtext_usage[] = +static const char sendtext_usage[] = "Usage: console send text <message>\n" " Sends a text message for display on the remote terminal.\n"; @@ -961,7 +961,7 @@ static int console_sendtext(int fd, int argc, char *argv[]) return res; } -static char answer_usage[] = +static const char answer_usage[] = "Usage: console answer\n" " Answers an incoming call on the console (ALSA) channel.\n"; @@ -993,7 +993,7 @@ static int console_hangup(int fd, int argc, char *argv[]) return res; } -static char hangup_usage[] = +static const char hangup_usage[] = "Usage: console hangup\n" " Hangs up any call currently placed on the console.\n"; @@ -1054,7 +1054,7 @@ static int console_dial(int fd, int argc, char *argv[]) return res; } -static char dial_usage[] = +static const char dial_usage[] = "Usage: console dial [extension[@context]]\n" " Dials a given extension (and context if specified)\n"; diff --git a/channels/chan_features.c b/channels/chan_features.c index 8a5846d2709f19f099f71bfb52df04ad8b000d1c..83e6e4ae590d04d47cde93f541e6045a5752bb49 100644 --- a/channels/chan_features.c +++ b/channels/chan_features.c @@ -529,7 +529,7 @@ static int features_show(int fd, int argc, char **argv) return RESULT_SUCCESS; } -static char show_features_usage[] = +static const char show_features_usage[] = "Usage: feature show channels\n" " Provides summary information on feature channels.\n"; diff --git a/channels/chan_gtalk.c b/channels/chan_gtalk.c index e5ec59de6c7be5e53a2d021b902a460743d149ba..456a536c92b7c3058de0f15bbd44ebdceb603f9b 100644 --- a/channels/chan_gtalk.c +++ b/channels/chan_gtalk.c @@ -225,11 +225,11 @@ static struct ast_rtp_protocol gtalk_rtp = { get_codec: gtalk_get_codec, }; -static char debug_usage[] = +static const char debug_usage[] = "Usage: gtalk show channels\n" " Shows current state of the Gtalk channels.\n"; -static char reload_usage[] = +static const char reload_usage[] = "Usage: gtalk reload\n" " Reload gtalk channel driver.\n"; diff --git a/channels/chan_local.c b/channels/chan_local.c index e4c7612cf5cd86bb93eb1f3ce156f5029ab2fecb..b8d112bcd5ae06eb97b40fa2abf0dad19642f0d6 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -659,7 +659,7 @@ static int locals_show(int fd, int argc, char **argv) return RESULT_SUCCESS; } -static char show_locals_usage[] = +static const char show_locals_usage[] = "Usage: local show channels\n" " Provides summary information on active local proxy channels.\n"; diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index f798bbd06e59a47e4d229de95a920bc575254084..2e0833b5fb2986f95019896bc74bb2dfb2ec80d9 100644 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -1044,24 +1044,24 @@ static int mgcp_show_endpoints(int fd, int argc, char *argv[]) return RESULT_SUCCESS; } -static char show_endpoints_usage[] = +static const char show_endpoints_usage[] = "Usage: mgcp show endpoints\n" " Lists all endpoints known to the MGCP (Media Gateway Control Protocol) subsystem.\n"; -static char audit_endpoint_usage[] = +static const char audit_endpoint_usage[] = "Usage: mgcp audit endpoint <endpointid>\n" " Lists the capabilities of an endpoint in the MGCP (Media Gateway Control Protocol) subsystem.\n" " mgcp debug MUST be on to see the results of this command.\n"; -static char debug_usage[] = +static const char debug_usage[] = "Usage: mgcp set debug\n" " Enables dumping of MGCP packets for debugging purposes\n"; -static char no_debug_usage[] = +static const char no_debug_usage[] = "Usage: mgcp set debug off\n" " Disables dumping of MGCP packets for debugging purposes\n"; -static char mgcp_reload_usage[] = +static const char mgcp_reload_usage[] = "Usage: mgcp reload\n" " Reloads MGCP configuration from mgcp.conf\n" " Deprecated: please use 'reload chan_mgcp.so' instead.\n"; diff --git a/channels/chan_oss.c b/channels/chan_oss.c index cec9f565a654e47e6d39b3923e4ed3272bf1eb88..9f2c3026f40423761d8853aacee7946cfb5bddfa 100644 --- a/channels/chan_oss.c +++ b/channels/chan_oss.c @@ -1336,7 +1336,7 @@ static int console_transfer(int fd, int argc, char *argv[]) return RESULT_SUCCESS; } -static char transfer_usage[] = +static const char transfer_usage[] = "Usage: console transfer <extension>[@context]\n" " Transfers the currently connected call to the given extension (and\n" "context if specified)\n"; @@ -1363,7 +1363,7 @@ static int console_active(int fd, int argc, char *argv[]) return RESULT_SUCCESS; } -static char active_usage[] = +static const char active_usage[] = "Usage: console active [device]\n" " If used without a parameter, displays which device is the current\n" "console. If a device is specified, the console sound device is changed to\n" diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 951d9b8a309033905054dbea1d97b25a4ac14fe0..e01590a4291567e1381bc497ba73eec101036fdf 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -1947,23 +1947,23 @@ static int skinny_show_lines(int fd, int argc, char *argv[]) return RESULT_SUCCESS; } -static char show_devices_usage[] = +static const char show_devices_usage[] = "Usage: skinny show devices\n" " Lists all devices known to the Skinny subsystem.\n"; -static char show_lines_usage[] = +static const char show_lines_usage[] = "Usage: skinny show lines\n" " Lists all lines known to the Skinny subsystem.\n"; -static char debug_usage[] = +static const char debug_usage[] = "Usage: skinny set debug\n" " Enables dumping of Skinny packets for debugging purposes\n"; -static char no_debug_usage[] = +static const char no_debug_usage[] = "Usage: skinny set debug off\n" " Disables dumping of Skinny packets for debugging purposes\n"; -static char reset_usage[] = +static const char reset_usage[] = "Usage: skinny reset <DeviceId|all> [restart]\n" " Causes a Skinny device to reset itself, optionally with a full restart\n"; diff --git a/channels/iax2-provision.c b/channels/iax2-provision.c index acd7beda862026afaf6a6dffe59e909846b15bf8..159d8686e3b9676036546d4878050ef183856d8c 100644 --- a/channels/iax2-provision.c +++ b/channels/iax2-provision.c @@ -399,7 +399,7 @@ static int iax_process_template(struct ast_config *cfg, char *s, char *def) return 0; } -static char show_provisioning_usage[] = +static const char show_provisioning_usage[] = "Usage: iax list provisioning [template]\n" " Lists all known IAX provisioning templates or a\n" " specific one if specified.\n";