Constify maintenance_print_target_stack

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

	* target.c (maintenance_print_target_stack): Constify.
This commit is contained in:
Tom Tromey 2017-09-09 21:34:29 -06:00
parent 1970a12f32
commit d3cb6b99c5
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2017-09-27 Tom Tromey <tom@tromey.com>
* target.c (maintenance_print_target_stack): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
* interps.c (interpreter_exec_cmd): Constify.

View file

@ -3892,7 +3892,7 @@ flash_erase_command (char *cmd, int from_tty)
/* Print the name of each layers of our target stack. */
static void
maintenance_print_target_stack (char *cmd, int from_tty)
maintenance_print_target_stack (const char *cmd, int from_tty)
{
struct target_ops *t;