[RFA,19/67] Constify maintenance_print_target_stack
Commit Message
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* target.c (maintenance_print_target_stack): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/target.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
@@ -3883,7 +3883,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;