diff options
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-cmds.c | 2 | ||||
-rw-r--r-- | gdb/cli/cli-cmds.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 6ee7673..bd2ca2d 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -597,7 +597,7 @@ source_script_with_search (const char *file, int from_tty, int search_path) for use in loading .gdbinit scripts. */ void -source_script (char *file, int from_tty) +source_script (const char *file, int from_tty) { source_script_with_search (file, from_tty, 0); } diff --git a/gdb/cli/cli-cmds.h b/gdb/cli/cli-cmds.h index 9f6977c..34fe445 100644 --- a/gdb/cli/cli-cmds.h +++ b/gdb/cli/cli-cmds.h @@ -117,7 +117,7 @@ extern void cd_command (char *, int); extern void quit_command (char *, int); -extern void source_script (char *, int); +extern void source_script (const char *, int); /* Exported to objfiles.c. */ |