Tue Mar 7 00:23:47 1995 Stu Grossman (grossman@cygnus.com)
+ * defs.h utils.c remote-hms.c remote-pa.c remote.c: Fix defs and
+ usage of fputc_unfiltered and putchar_unfiltered. Eliminate
+ putc_unfiltered (it's superfluous).
+
* command.h command.c: Add var_enum command type. It's like
var_string but allows only only one of the specified strings.
/* Print out any characters which have been swallowed. */
for (p = swallowed; p < swallowed_p; ++p)
- putc_unfiltered (*p);
+ putchar_unfiltered (*p);
swallowed_p = swallowed;
if ((ch != '\r' && ch != '\n') || swallowed_cr > 10)
{
- putc_unfiltered (ch);
+ putchar_unfiltered (ch);
swallowed_cr = 10;
}
swallowed_cr++;
#include "symfile.h"
#include "objfiles.h"
#include "gdb-stabs.h"
-#include <termio.h>
-
-#ifdef HAVE_TERMIO
-# define TERMINAL struct termios
-#else
-# define TERMINAL struct sgttyb
-#endif
struct monitor_ops *current_monitor;
struct cmd_list_element *showlist;
case '$':
if (started_error_output)
{
- putc_unfiltered ('\n');
+ putchar_unfiltered ('\n');
started_error_output = 0;
}
}
started_error_output = 1;
printf_unfiltered ("putpkt: Junk: ");
}
- putc_unfiltered (ch & 0177);
+ putchar_unfiltered (ch & 0177);
}
continue;
}