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: [cosmetic-patch] missing declaration in monitor.c


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


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