gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* cp-support.c (first_component_command): Constify.
+2017-09-27 Tom Tromey <tom@tromey.com>
+
+ * cp-support.c (first_component_command): Constify.
+
2017-09-27 Tom Tromey <tom@tromey.com>
* psymtab.c (maintenance_print_psymbols)
/* The actual commands. */
static void maint_cplus_command (char *arg, int from_tty);
-static void first_component_command (char *arg, int from_tty);
/* A list of typedefs which should not be substituted by replace_typedefs. */
static const char * const ignore_typedefs[] =
cp_find_first_component. */
static void
-first_component_command (char *arg, int from_tty)
+first_component_command (const char *arg, int from_tty)
{
int len;
char *prefix;