This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA 18/67] Constify interpreter_exec_cmd


ChangeLog
2017-09-20  Tom Tromey  <tom@tromey.com>

	* interps.c (interpreter_exec_cmd): Constify.
---
 gdb/ChangeLog | 4 ++++
 gdb/interps.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

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;
-- 
2.9.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]