mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user