Constify info_probes_dtrace_command
authorTom Tromey <tom@tromey.com>
Sun, 10 Sep 2017 02:57:56 +0000 (20:57 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:16 +0000 (08:44 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* dtrace-probe.c (info_probes_dtrace_command): Constify.

gdb/ChangeLog
gdb/dtrace-probe.c

index 7008541..6f07d5e 100644 (file)
@@ -1,5 +1,9 @@
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
+       * dtrace-probe.c (info_probes_dtrace_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
        * command.h (not_just_help_class_command): Update.
        * cli/cli-decode.h (not_just_help_class_command): Update.
        * cli/cli-decode.c (not_just_help_class_command): Constify.
index 5a4daa3..2bbe03e 100644 (file)
@@ -904,7 +904,7 @@ const struct probe_ops dtrace_probe_ops =
 /* Implementation of the `info probes dtrace' command.  */
 
 static void
-info_probes_dtrace_command (char *arg, int from_tty)
+info_probes_dtrace_command (const char *arg, int from_tty)
 {
   info_probes_for_ops (arg, from_tty, &dtrace_probe_ops);
 }