Constify interpreter_exec_cmd

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

	* interps.c (interpreter_exec_cmd): Constify.
This commit is contained in:
Tom Tromey 2017-09-09 21:32:11 -06:00
parent 4124365135
commit 1970a12f32
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -401,7 +401,7 @@ clear_interpreter_hooks (void)
}
static void
interpreter_exec_cmd (char *args, int from_tty)
interpreter_exec_cmd (const char *args, int from_tty)
{
struct ui_interp_info *ui_interp = get_current_interp_info ();
struct interp *old_interp, *interp_to_use;