This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [cosmetic-patch] missing declaration in monitor.c
- From: Daniel Jacobowitz <drow at false dot org>
- To: Denis PILAT <denis dot pilat at st dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 17 Jul 2006 08:32:29 -0400
- Subject: Re: [cosmetic-patch] missing declaration in monitor.c
- References: <44BB751B.10608@st.com>
On Mon, Jul 17, 2006 at 01:31:39PM +0200, Denis PILAT wrote:
> monitor_insert_breakpoint and monitor_remove_breakpoint used to be
> declared with other static function.
Yes, I deliberately removed the prototypes instead of changing them.
Did you need them back for a reason? There's no advantage in modern
C to prototyping a static function if it is not used before it is
defined.
--
Daniel Jacobowitz
CodeSourcery