This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[COMMITTED PATCH] Fix incomplete constification in remote-sim.c
- From: Roland McGrath <mcgrathr at google dot com>
- To: GDB <gdb-patches at sourceware dot org>
- Date: Wed, 30 Jul 2014 13:13:34 -0700
- Subject: [COMMITTED PATCH] Fix incomplete constification in remote-sim.c
- Authentication-results: sourceware.org; auth=none
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);