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: [RFA 5/8] Constify add_path and friends


Tom Tromey <tom@tromey.com> writes:

> This constifies add_path, mod_path, and directory_switch.
>
> gdb/ChangeLog
> 2017-10-13  Tom Tromey  <tom@tromey.com>
>
> 	* source.c (directory_switch, mod_path, add_path): Constify.
> 	* defs.h (add_path, mod_path, directory_switch): Constify.
> 	* mi/mi-cmd-env.c (env_mod_path): Constify.

Looks good to me.

-- 
Yao (齐尧)


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