This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]