* event-top.c (gdb_setup_readline): Add missing type in extern
authorJoel Brobecker <brobecker@gnat.com>
Wed, 2 Nov 2005 05:57:25 +0000 (05:57 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 2 Nov 2005 05:57:25 +0000 (05:57 +0000)
        declaration.

gdb/ChangeLog
gdb/event-top.c

index 7433f6259e6bccde8571c388cfa8d5ca010979ca..815b6632cf0ea97a4b04aaf64858de932d75b9e0 100644 (file)
@@ -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
index bc1fe8ea38c54eb1764d04f44703bc83d9782594..438ef2035dc9f9a4eb85251fcdeeadd9fd475845 100644 (file)
@@ -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);