Roll in Tiemann changes for gcc -ansi. Fix assorted bugs. See ChangeLog.
[deliverable/binutils-gdb.git] / gdb / utils.c
index cce338da5eeedc4ffca9081e7f009e915eaea498..28c3c87007491221ac6563f2d2f2c52949b10231 100644 (file)
@@ -58,7 +58,8 @@ extern char *realloc();
 /* Can't #define it since printcmd.c needs it */
 void
 vprintf (format, ap)
-     char *format; void *ap;
+     char *format;
+     va_alist ap;
 {
   vfprintf (stdout, format, ap);
 }
@@ -380,6 +381,7 @@ void
 quit ()
 {
   target_terminal_ours ();
+  wrap_here ((char *)0);               /* Force out any pending output */
 #ifdef HAVE_TERMIO
   ioctl (fileno (stdout), TCFLSH, 1);
 #else /* not HAVE_TERMIO */
@@ -873,7 +875,7 @@ fputs_filtered (linebuffer, stream)
       if (*lineptr == '\n')
        {
          chars_printed = 0;
-         wrap_here ("");       /* Spit out chars, cancel further wraps */
+         wrap_here ((char *)0);  /* Spit out chars, cancel further wraps */
          lines_printed++;
          putc ('\n', stream);
          lineptr++;
This page took 0.022916 seconds and 4 git commands to generate.