[RFA 5/8] Constify add_path and friends

Yao Qi qiyaoltc@gmail.com
Mon Oct 16 09:35:00 GMT 2017


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 (齐尧)



More information about the Gdb-patches mailing list