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:
Tom Tromey
2014-07-21 16:56:28 -06:00
parent fc4baa5e1f
commit 5a19e2d0fe
3 changed files with 8 additions and 2 deletions

View File

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