[RFA 12/67] Constify maintenance_cplus_namespace

Tom Tromey
2017-09-21T05:13:23Z

* 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