This is the mail archive of the gdb-patches@sources.redhat.com 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: [PATCH] gdbreplay.c


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


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