aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/cp-namespace.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a9bd545..4dbe3ed7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2017-09-27 Tom Tromey <tom@tromey.com>
+ * cp-namespace.c (maintenance_cplus_namespace): Constify.
+
+2017-09-27 Tom Tromey <tom@tromey.com>
+
* cp-support.c (first_component_command): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
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"));
}