[PATCH] gdbreplay.c

David O'Brien obrien@FreeBSD.org
Tue Jul 9 12:49:00 GMT 2002


On Tue, Jul 09, 2002 at 01:33:22PM -0400, Daniel Jacobowitz wrote:
> In any case, no objection, so please commit it.  But when does GCC warn
> about a function not being static?

Gcc doesn't. :-)  But making these functions static gets rid of these
warnings:

gdb/gdbserver/gdbreplay.c: At top level:
gdb/gdbserver/gdbreplay.c:85: warning: no previous prototype for `remote_open'
gdb/gdbserver/gdbreplay.c: In function `remote_open':
gdb/gdbserver/gdbreplay.c:86: warning: function declaration isn't a prototype



More information about the Gdb-patches mailing list