Constify two functions in cp-abi.c
authorTom Tromey <tom@tromey.com>
Sun, 10 Sep 2017 02:59:50 +0000 (20:59 -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>

* cp-abi.c (set_cp_abi_cmd, show_cp_abi_cmd): Constify.

gdb/ChangeLog
gdb/cp-abi.c

index 11c20d8a0805df6286579f95cd489420137dd6b8..74e805db1236f54bba2700ec03dc16d3c6d18025 100644 (file)
@@ -1,3 +1,7 @@
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * cp-abi.c (set_cp_abi_cmd, show_cp_abi_cmd): Constify.
+
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
        * arc-tdep.c (dump_arc_instruction_command): Constify.
index 49fab32561f9ca92eb2add83ce2ac0aae8db1401..11b8424856d04550e2fdcfadcb08e9dcb57a2213 100644 (file)
@@ -341,7 +341,7 @@ list_cp_abis (int from_tty)
    argument is given.  */
 
 static void
-set_cp_abi_cmd (char *args, int from_tty)
+set_cp_abi_cmd (const char *args, int from_tty)
 {
   if (args == NULL)
     {
@@ -378,7 +378,7 @@ cp_abi_completer (struct cmd_list_element *ignore,
 /* Show the currently selected C++ ABI.  */
 
 static void
-show_cp_abi_cmd (char *args, int from_tty)
+show_cp_abi_cmd (const char *args, int from_tty)
 {
   struct ui_out *uiout = current_uiout;
 
This page took 0.032154 seconds and 4 git commands to generate.