Constify maintenance_cplus_namespace
authorTom Tromey <tom@tromey.com>
Sun, 10 Sep 2017 03:23:03 +0000 (21:23 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:23 +0000 (08:44 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* cp-namespace.c (maintenance_cplus_namespace): Constify.

gdb/ChangeLog
gdb/cp-namespace.c

index a9bd545..4dbe3ed 100644 (file)
@@ -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>
index 90ff513..214b7e1 100644 (file)
@@ -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"));
 }