aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2005-11-02 05:57:25 +0000
committerJoel Brobecker <brobecker@gnat.com>2005-11-02 05:57:25 +0000
commit7cd012f3da88f5d177e76fb17e2719e8029b219b (patch)
treedddb742b1425ea0f2af0bb1902b1c15ff65834a9
parente3267a15d769dd6f1d3115fef1e9be73c82b3667 (diff)
downloadgdb-7cd012f3da88f5d177e76fb17e2719e8029b219b.zip
gdb-7cd012f3da88f5d177e76fb17e2719e8029b219b.tar.gz
gdb-7cd012f3da88f5d177e76fb17e2719e8029b219b.tar.bz2
* event-top.c (gdb_setup_readline): Add missing type in extern
declaration.
-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 7433f62..815b663 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 bc1fe8e..438ef20 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);