From 1970a12f32f788f22b641737e846350e1ff9dd04 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 9 Sep 2017 21:32:11 -0600 Subject: Constify interpreter_exec_cmd gdb/ChangeLog 2017-09-27 Tom Tromey * interps.c (interpreter_exec_cmd): Constify. --- gdb/interps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/interps.c') diff --git a/gdb/interps.c b/gdb/interps.c index 63a1230..1e89a99 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -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; -- cgit v1.1