summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/event-top.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7433f6259e6..815b6632cf0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-01 Joel Brobecker <brobecker@adacore.com>
+
+ * event-top.c (gdb_setup_readline): Add missing type in extern
+ declaration.
+
2005-11-01 Paul Gilliam <pgilliam@us.ibm.com>
* rs6000-tdep.c (rs6000_gdbarch_init): On GNU/Linux, assume that
diff --git a/gdb/event-top.c b/gdb/event-top.c
index bc1fe8ea38c..438ef2035dc 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);