Constify two functions in linux-fork.c
authorTom Tromey <tom@tromey.com>
Sun, 10 Sep 2017 03:00:26 +0000 (21:00 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:19 +0000 (08:44 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* linux-fork.c (delete_checkpoint_command)
(detach_checkpoint_command): Constify.

gdb/ChangeLog
gdb/linux-fork.c

index 74e805db1236f54bba2700ec03dc16d3c6d18025..00de27b266988971d99930904e9c6ff29337967f 100644 (file)
@@ -1,3 +1,8 @@
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * linux-fork.c (delete_checkpoint_command)
+       (detach_checkpoint_command): Constify.
+
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
        * cp-abi.c (set_cp_abi_cmd, show_cp_abi_cmd): Constify.
index 6b9c6a876016d2e3c7fa17e8c8da0017ef590f13..554cfae77201bd4394d49fae2cbb2300493ad29d 100644 (file)
@@ -503,7 +503,7 @@ out:
 /* Fork list <-> user interface.  */
 
 static void
-delete_checkpoint_command (char *args, int from_tty)
+delete_checkpoint_command (const char *args, int from_tty)
 {
   ptid_t ptid, pptid;
   struct fork_info *fi;
@@ -544,7 +544,7 @@ Please switch to another checkpoint before deleting the current one"));
 }
 
 static void
-detach_checkpoint_command (char *args, int from_tty)
+detach_checkpoint_command (const char *args, int from_tty)
 {
   ptid_t ptid;
 
This page took 0.032119 seconds and 4 git commands to generate.