This constifies an argument to inf_child_open_target.
2014-07-24 Tom Tromey <tromey@redhat.com>
* inf-child.c (inf_child_open_target): Make "arg" const.
* inf-child.h (inf_child_open_target): Update.
2014-07-24 Tom Tromey <tromey@redhat.com>
+ * inf-child.c (inf_child_open_target): Make "arg" const.
+ * inf-child.h (inf_child_open_target): Update.
+
+2014-07-24 Tom Tromey <tromey@redhat.com>
+
* environ.c (unset_in_environ): Make "var" const.
* environ.h (unset_in_environ): Update.
/* See inf-child.h. */
void
-inf_child_open_target (struct target_ops *target, char *arg, int from_tty)
+inf_child_open_target (struct target_ops *target, const char *arg,
+ int from_tty)
{
target_preopen (from_tty);
push_target (target);
the target, in case it need to override to_open. */
extern void inf_child_open_target (struct target_ops *target,
- char *arg, int from_tty);
+ const char *arg, int from_tty);
/* To be called by the native target's to_mourn_inferior routine. */