summaryrefslogtreecommitdiff
path: root/gdb/record-full.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/record-full.c')
-rw-r--r--gdb/record-full.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/record-full.c b/gdb/record-full.c
index aa3ad8532d4..3a8d32637d2 100644
--- a/gdb/record-full.c
+++ b/gdb/record-full.c
@@ -251,7 +251,7 @@ static void
static void record_full_goto_insn (struct record_full_entry *entry,
enum exec_direction_kind dir);
-static void record_full_save (char *recfilename);
+static void record_full_save (const char *recfilename);
/* Alloc and free functions for record_full_reg, record_full_mem, and
record_full_end entries. */
@@ -2632,7 +2632,7 @@ record_full_save_cleanups (void *data)
format, with an extra section for our data. */
static void
-record_full_save (char *recfilename)
+record_full_save (const char *recfilename)
{
struct record_full_entry *cur_record_full_list;
uint32_t magic;