OSDN Git Service

* event-top.c (gdb_setup_readline): Add missing type in extern
authorbrobecke <brobecke>
Wed, 2 Nov 2005 05:57:25 +0000 (05:57 +0000)
committerbrobecke <brobecke>
Wed, 2 Nov 2005 05:57:25 +0000 (05:57 +0000)
        declaration.

gdb/ChangeLog
gdb/event-top.c

index 7433f62..815b663 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 bc1fe8e..438ef20 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);