Constify user_defined_command

gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

	* cli/cli-script.c (user_defined_command): Constify.
This commit is contained in:
Tom Tromey 2017-09-09 21:40:16 -06:00
parent 2d0ac1068b
commit 898241a5ba
2 changed files with 5 additions and 1 deletions

View 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)

View File

@ -1401,7 +1401,7 @@ validate_comname (char **comname)
/* 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)
{
}