gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* cli/cli-logging.c (set_logging_on, set_logging_off): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
+ * cli/cli-logging.c (set_logging_on, set_logging_off): Constify.
+
+2017-09-27 Tom Tromey <tom@tromey.com>
+
* cli/cli-script.c (user_defined_command): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
}
static void
-set_logging_on (char *args, int from_tty)
+set_logging_on (const char *args, int from_tty)
{
- char *rest = args;
+ const char *rest = args;
if (rest && *rest)
{
}
static void
-set_logging_off (char *args, int from_tty)
+set_logging_off (const char *args, int from_tty)
{
if (saved_filename == NULL)
return;