From 7cd012f3da88f5d177e76fb17e2719e8029b219b Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 2 Nov 2005 05:57:25 +0000 Subject: [PATCH] * event-top.c (gdb_setup_readline): Add missing type in extern declaration. --- gdb/ChangeLog | 5 +++++ gdb/event-top.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7433f6259e..815b6632cf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2005-11-01 Joel Brobecker + + * event-top.c (gdb_setup_readline): Add missing type in extern + declaration. + 2005-11-01 Paul Gilliam * rs6000-tdep.c (rs6000_gdbarch_init): On GNU/Linux, assume that diff --git a/gdb/event-top.c b/gdb/event-top.c index bc1fe8ea38..438ef2035d 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -1110,7 +1110,7 @@ gdb_setup_readline (void) that the sync setup is ALL done in gdb_init, and we would only mess it up here. The sync stuff should really go away over time. */ - extern batch_silent; + extern int batch_silent; if (!batch_silent) gdb_stdout = stdio_fileopen (stdout);