Constify add_cmd gdb_bfd.c

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.
This commit is contained in:
Tom Tromey 2017-09-09 20:55:20 -06:00
parent 0450cc4ce8
commit e4e3333549
2 changed files with 5 additions and 1 deletions

View 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

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