Constify tui_reg_command

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

	* tui/tui-regs.c (tui_reg_command): Constify.
This commit is contained in:
Tom Tromey 2017-09-09 21:51:10 -06:00
parent 863779b0c6
commit e2d8ae16c0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-09-27 Tom Tromey <tom@tromey.com>
* tui/tui-regs.c (tui_reg_command): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
* skip.c (skip_file_command, skip_function_command)

View File

@ -600,7 +600,7 @@ tui_reg_prev (struct gdbarch *gdbarch)
not already on display. */
static void
tui_reg_command (char *args, int from_tty)
tui_reg_command (const char *args, int from_tty)
{
struct gdbarch *gdbarch = get_current_arch ();