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: [obv] Add static to infwait_state


On 11/19/2012 03:08 AM, Yao Qi wrote:
> Hi,
> Variable 'infwait_state' is not used out of file infrun.c, so 'static'
> can be added.  It is obvious, and I'll check it in.

Yeah, and at least init_infwait_state too could be made static as well.

Thanks.

-- 
Pedro Alves


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