[RFA 51/67] Constify info_probes_stap_command

Tom Tromey
2017-09-21T05:39:42Z

* stap-probe.c (info_probes_stap_command): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/stap-probe.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c
index 61eb8e4..6fa0d20 100644
--- a/gdb/stap-probe.c
+++ b/gdb/stap-probe.c
@@ -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);
}
--
2.9.4