This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3 3/9] Code cleanup: compile: Constify some parameters


On 04/11/2015 08:43 PM, Jan Kratochvil wrote:
> gdb/ChangeLog
> 2015-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* compile/compile.c (compile_to_object): Make the cmd_string parameter
> 	const.  Use new variables for the const compatibility.
> 	(eval_compile_command): Make the cmd_string parameter const.
> 	* compile/compile.h (eval_compile_command): Make the cmd_string
> 	parameter const.

OK.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]