From 5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 21 Jul 2014 16:56:28 -0600 Subject: constify monitor_open This constifies an argument to monitor_open. 2014-07-24 Tom Tromey * monitor.c (monitor_open): Make "args" const. * monitor.h (monitor_open): Update. --- gdb/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/monitor.c') diff --git a/gdb/monitor.c b/gdb/monitor.c index 61f0dff..788bca0 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -713,7 +713,7 @@ compile_pattern (char *pattern, struct re_pattern_buffer *compiled_pattern, for communication. */ void -monitor_open (char *args, struct monitor_ops *mon_ops, int from_tty) +monitor_open (const char *args, struct monitor_ops *mon_ops, int from_tty) { char *name; char **p; -- cgit v1.1