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] | |
Currently running gdb_mbuild pretty much for the first time, and
disovering lots of builds failures, mostly because of -Werror. Here
is a fix the one warning in one of the core files. I think the other
ones are in target dependent files.
2005-11-02 Joel Brobecker <brobecker@adacore.com>
* event-top.c (gdb_setup_readline): Add missing type in extern
declaration.
Fixes the following compiler warning:
event-top.c: In function `gdb_setup_readline':
event-top.c:1113: warning: type defaults to `int' in declaration of `batch_silent'
Here is where the variable is defined:
main.c:int batch_silent = 0;
Tested on x86-linux, no regression in the testsuite. I'm committing
this under the obvious fix rule. I think it's pretty obvious.
--
Joel
Attachment:
event-top.c.diff
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |