summaryrefslogtreecommitdiff
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
commit8f35554dc99a0dcf160b6aa98e27b0c486bc1623 (patch)
tree7f40d2b14e429eada2794688655232136d734fbd
parent471561601439ed0a84a78eab06a0e01c1197fb90 (diff)
downloadgdb-8f35554dc99a0dcf160b6aa98e27b0c486bc1623.tar.gz
* 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 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);