diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-09 21:23:03 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-27 08:44:23 -0600 |
commit | 32a7bf17c94a81c08535ea045f43fe8c8271d3fd (patch) | |
tree | 2b7aa0cd20453a6b4cd40870c21d91c83bd5c8e1 | |
parent | 4a47555179bfcfd3c9e4ad2752e38ae398fc7dcd (diff) | |
download | binutils-32a7bf17c94a81c08535ea045f43fe8c8271d3fd.zip binutils-32a7bf17c94a81c08535ea045f43fe8c8271d3fd.tar.gz binutils-32a7bf17c94a81c08535ea045f43fe8c8271d3fd.tar.bz2 |
Constify maintenance_cplus_namespace
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* cp-namespace.c (maintenance_cplus_namespace): Constify.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/cp-namespace.c | 2 |
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")); } |