Constify info_probes_stap_command

gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

	* stap-probe.c (info_probes_stap_command): Constify.
This commit is contained in:
Tom Tromey 2017-09-12 21:13:21 -06:00
parent e0b2930cdc
commit 884beb0c41
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-09-27 Tom Tromey <tom@tromey.com>
* stap-probe.c (info_probes_stap_command): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
* fork-child.c (unset_exec_wrapper_command): Constify.

View File

@ -1708,7 +1708,7 @@ const struct probe_ops stap_probe_ops =
/* Implementation of the `info probes stap' command. */
static void
info_probes_stap_command (char *arg, int from_tty)
info_probes_stap_command (const char *arg, int from_tty)
{
info_probes_for_ops (arg, from_tty, &stap_probe_ops);
}