diff options
author | Tom Tromey <tromey@redhat.com> | 2014-07-21 16:56:28 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-07-24 11:30:02 -0600 |
commit | 5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d (patch) | |
tree | 98e871aae5a5f837f33288981de08c9d2526aa61 /gdb/monitor.c | |
parent | fc4baa5e1f016c27eab4b2593a1ba9db60e11bee (diff) | |
download | gdb-5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d.zip gdb-5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d.tar.gz gdb-5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d.tar.bz2 |
constify monitor_open
This constifies an argument to monitor_open.
2014-07-24 Tom Tromey <tromey@redhat.com>
* monitor.c (monitor_open): Make "args" const.
* monitor.h (monitor_open): Update.
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r-- | gdb/monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |