From 32a7bf17c94a81c08535ea045f43fe8c8271d3fd Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 9 Sep 2017 21:23:03 -0600 Subject: [PATCH] Constify maintenance_cplus_namespace gdb/ChangeLog 2017-09-27 Tom Tromey * 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/ChangeLog b/gdb/ChangeLog index a9bd5452d6f..4dbe3ed79c3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * cp-namespace.c (maintenance_cplus_namespace): Constify. + 2017-09-27 Tom Tromey * cp-support.c (first_component_command): Constify. diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c index 90ff5139543..214b7e1cf4e 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.30.2