[COMMITTED PATCH] Fix incomplete constification in remote-sim.c

Roland McGrath mcgrathr@google.com
Wed Jul 30 21:30:00 GMT 2014


Committed as obvious.


Thanks,
Roland


gdb/
2014-07-30  Roland McGrath  <mcgrathr@google.com>

* remote-sim.c (gdbsim_open): Apply constification to forward decl.

--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -76,7 +76,7 @@ static void gdbsim_kill (struct target_ops *);
 static void gdbsim_load (struct target_ops *self, const char *prog,
  int fromtty);

-static void gdbsim_open (char *args, int from_tty);
+static void gdbsim_open (const char *args, int from_tty);

 static void gdbsim_close (struct target_ops *self);



More information about the Gdb-patches mailing list