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
> Date: Mon, 17 Jul 2006 09:43:58 -0400
> From: Daniel Jacobowitz <drow@false.org>
>
> On Mon, Jul 17, 2006 at 02:50:05PM +0200, Denis PILAT wrote:
> > No I don't need them.
> > While reading the code I found that they were missing because all other
> > static function are declared.
> > I'm wondering why you remove only these 2 one ? Most of static functions
> > are not used before beeing defined.
>
> I removed those two because I was changing them - the old ones were
> wrong. It's a bit of work to make sure that a prototype isn't
> necessary.
But you're encouraged to remove redundant prototypes if you happen to
see them ;-).
Mark