Constify user_defined_command
authorTom Tromey <tom@tromey.com>
Sun, 10 Sep 2017 03:40:16 +0000 (21:40 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:31 +0000 (08:44 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* cli/cli-script.c (user_defined_command): Constify.

gdb/ChangeLog
gdb/cli/cli-script.c

index f65691d7b0643ccf8079b35b54003b072d6ca448..9ff18c65426ea5679423bdd57c65599be6e76a96 100644 (file)
@@ -1,3 +1,7 @@
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * cli/cli-script.c (user_defined_command): Constify.
+
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
        * cli/cli-dump.c (dump_memory_command, dump_value_command)
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
        * cli/cli-dump.c (dump_memory_command, dump_value_command)
index 37466fd76633f37c0c56ce91251d3de01e7be392..0a93e8b54f4763765f553db1f5e958e8061f9a37 100644 (file)
@@ -1401,7 +1401,7 @@ validate_comname (char **comname)
 
 /* This is just a placeholder in the command data structures.  */
 static void
 
 /* This is just a placeholder in the command data structures.  */
 static void
-user_defined_command (char *ignore, int from_tty)
+user_defined_command (const char *ignore, int from_tty)
 {
 }
 
 {
 }
 
This page took 0.036393 seconds and 4 git commands to generate.