Constify cd_command
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * cli/cli-cmds.h (cd_command): Constify. * cli/cli-cmds.c (cd_command): Constify.
This commit is contained in:
parent
fc41a75bee
commit
5e93d4c64b
3 changed files with 7 additions and 2 deletions
|
@ -110,7 +110,7 @@ int is_complete_command (struct cmd_list_element *cmd);
|
|||
|
||||
/* Exported to gdb/main.c */
|
||||
|
||||
extern void cd_command (char *, int);
|
||||
extern void cd_command (const char *, int);
|
||||
|
||||
/* Exported to gdb/top.c and gdb/main.c */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue