This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 02/67] Constify add_cmd gdb_bfd.c
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Wed, 20 Sep 2017 23:09:18 -0600
- Subject: [RFA 02/67] Constify add_cmd gdb_bfd.c
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
This constifies a command function in gdb_bfd.c.
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* gdb_bfd.c (maintenance_info_bfds): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/gdb_bfd.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c
index d80b3fb..29080b8 100644
--- a/gdb/gdb_bfd.c
+++ b/gdb/gdb_bfd.c
@@ -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;
--
2.9.4