From 5e93d4c64bbc3b4fb306e54cdcd79bc8ff86b2f0 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 12 Sep 2017 21:02:08 -0600 Subject: Constify cd_command gdb/ChangeLog 2017-09-27 Tom Tromey * cli/cli-cmds.h (cd_command): Constify. * cli/cli-cmds.c (cd_command): Constify. --- gdb/cli/cli-cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/cli/cli-cmds.c') diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index c009941..dde67ee 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -395,7 +395,7 @@ pwd_command (char *args, int from_tty) } void -cd_command (char *dir, int from_tty) +cd_command (const char *dir, int from_tty) { int len; /* Found something other than leading repetitions of "/..". */ -- cgit v1.1