This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 12/67] Constify maintenance_cplus_namespace
- 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:28 -0600
- Subject: [RFA 12/67] Constify maintenance_cplus_namespace
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* cp-namespace.c (maintenance_cplus_namespace): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/cp-namespace.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c
index 90ff513..214b7e1 100644
--- a/gdb/cp-namespace.c
+++ b/gdb/cp-namespace.c
@@ -1078,7 +1078,7 @@ cp_lookup_transparent_type_loop (const char *name,
obsolete. */
static void
-maintenance_cplus_namespace (char *args, int from_tty)
+maintenance_cplus_namespace (const char *args, int from_tty)
{
printf_unfiltered (_("The `maint namespace' command was removed.\n"));
}
--
2.9.4