Constify add_cmd gdb_bfd.c
authorTom Tromey <tom@tromey.com>
Sun, 10 Sep 2017 02:55:20 +0000 (20:55 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:14 +0000 (08:44 -0600)
This constifies a command function in gdb_bfd.c.

gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* gdb_bfd.c (maintenance_info_bfds): Constify.

gdb/ChangeLog
gdb/gdb_bfd.c

index 54bc5b0b295c4e7dec290c1f8cff548da784f677..7cfd359a65947619688a6b486365fa73f1bdd9dd 100644 (file)
@@ -1,3 +1,7 @@
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * gdb_bfd.c (maintenance_info_bfds): Constify.
+
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
        * cli/cli-decode.c (add_cmd, set_cmd_cfunc): New function
index d80b3fb7bcdd5a0c61181586ab5a5702fcf97cb3..29080b852a5fde8eac783bcde1e2307139fabe52 100644 (file)
@@ -974,7 +974,7 @@ print_one_bfd (void **slot, void *data)
 /* Implement the 'maint info bfd' command.  */
 
 static void
-maintenance_info_bfds (char *arg, int from_tty)
+maintenance_info_bfds (const char *arg, int from_tty)
 {
   struct ui_out *uiout = current_uiout;