Re: [RFA 37/67] Constify some commands in record.c

Tom Tromey
2017-09-23T04:05:12Z

>>>>> "Markus" == Metzger, Markus T <markus.t.metzger@intel.com> writes:

>> static void
>> cmd_record_save (char *args, int from_tty)
>> {
>> - char *recfilename, recfilename_buffer[40];
>> + const char *recfilename;
>> + char recfilename_buffer[40];
>>
>> require_record_target ();

Markus> This isn't really related to adding a const add_cmd () version.

Thanks for noticing this. I forgot to change the signature of
cmd_record_save. I've updated my patch so that it takes a
"const char *".

Tom