Constify maintenance_print_dummy_frames

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

	* dummy-frame.c (maintenance_print_dummy_frames): Constify.
This commit is contained in:
Tom Tromey 2017-09-09 21:51:39 -06:00
parent b961da0bb0
commit 31d56ade0e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-09-27 Tom Tromey <tom@tromey.com>
* dummy-frame.c (maintenance_print_dummy_frames): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
* tui/tui.c (tui_enable_command, tui_disable_command): Constify.

View File

@ -403,7 +403,7 @@ fprint_dummy_frames (struct ui_file *file)
}
static void
maintenance_print_dummy_frames (char *args, int from_tty)
maintenance_print_dummy_frames (const char *args, int from_tty)
{
if (args == NULL)
fprint_dummy_frames (gdb_stdout);