This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [obv] Add static to infwait_state
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 19 Nov 2012 15:31:16 +0000
- Subject: Re: [obv] Add static to infwait_state
- References: <1353294508-4068-1-git-send-email-yao@codesourcery.com>
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