diff options
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index cce338d..28c3c87 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -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++; |