aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-namespace.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-09 21:23:03 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:23 -0600
commit32a7bf17c94a81c08535ea045f43fe8c8271d3fd (patch)
tree2b7aa0cd20453a6b4cd40870c21d91c83bd5c8e1 /gdb/cp-namespace.c
parent4a47555179bfcfd3c9e4ad2752e38ae398fc7dcd (diff)
downloadgdb-32a7bf17c94a81c08535ea045f43fe8c8271d3fd.zip
gdb-32a7bf17c94a81c08535ea045f43fe8c8271d3fd.tar.gz
gdb-32a7bf17c94a81c08535ea045f43fe8c8271d3fd.tar.bz2
Constify maintenance_cplus_namespace
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * cp-namespace.c (maintenance_cplus_namespace): Constify.
Diffstat (limited to 'gdb/cp-namespace.c')
-rw-r--r--gdb/cp-namespace.c2
1 files changed, 1 insertions, 1 deletions
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"));
}