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 7008541f2e5bc625995d82730eb2c6669e873bff..6f07d5e8ee07570d7d27343f4700a022f5352752 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 5a4daa3c6be1fbe0042265f1bd38e0e41d570bbd..2bbe03e4b30d9cfddc9dda432fc698dea61f3aa6 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);
 }
This page took 0.03219 seconds and 4 git commands to generate.